اطلاعیه

Collapse
No announcement yet.

پروژه پخش فایل های صوتی توسط LPC1768

Collapse
X
 
  • فیلتر
  • زمان
  • Show
Clear All
new posts

    پروژه پخش فایل های صوتی توسط LPC1768

    پروژه پخش فایل های صوتی توسط LPC1768
    (راه اندازی ماژول VS1003 توسط LPC1768 )


    لینک سورس برنامه : http://vip.eca.ir/sharing/uploads/13564516701.rar
    برای توضیحات به مجله نویـز ، شماره 13 ، صفحه 50 مراجعه کنید
    لینک دانلود مجله: http://eca.ir/noisemagazine/?p=257

    #2
    پاسخ : پروژه پخش فایل های صوتی توسط LPC1768

    سلام ییخشید واسه من این ارور رو میده میتونید کمکم کنید .
    Rebuild target 'lpc1768'
    assembling startup_LPC17xx.s...
    compiling system_LPC17xx.c...
    compiling File_Config.c...
    File_Config.c(150): error: #77-D: this declaration has no storage class or type specifier
    DEVCONF const FlashDev [1] = {0,0};
    File_Config.c(150): error: #65: expected a ";"
    DEVCONF const FlashDev [1] = {0,0};
    File_Config.c(169): error: #77-D: this declaration has no storage class or type specifier
    DEVCONF const SpiDev [1] = {0,0};
    File_Config.c(169): error: #65: expected a ";"
    DEVCONF const SpiDev [1] = {0,0};
    File_Config.c(211): error: #77-D: this declaration has no storage class or type specifier
    DEVCONF const RamDev [1] = {0,0};
    File_Config.c(211): error: #65: expected a ";"
    DEVCONF const RamDev [1] = {0,0};
    File_Config.c: 0 warnings, 6 errors
    compiling main.c...
    main.c(46): warning: #167-D: argument of type "S8 *" is incompatible with parameter of type "const char *restrict"
    strcpy(NAME,&info.name[i]);
    main.c(64): warning: #167-D: argument of type "S8 *" is incompatible with parameter of type "const char *restrict"
    strcpy(NAME,&info.name[i]);
    main.c(109): warning: #127-D: expectd a statement
    }
    main.c(152): error: #165: too few arguments in function call
    while ((retv = finit ()) != 0) /* Wait until the Card is ready*/
    main.c: 3 warnings, 1 error
    compiling SPI_LPC17xx.c...
    compiling Retarget.c...
    ".\player.axf" - 7 Error(s), 3 Warning(s).
    Target not created

    دیدگاه


      #3
      پاسخ : پروژه پخش فایل های صوتی توسط LPC1768

      نوشته اصلی توسط Behnam_a
      سلام ییخشید واسه من این ارور رو میده میتونید کمکم کنید .
      Rebuild target 'lpc1768'
      assembling startup_LPC17xx.s...
      compiling system_LPC17xx.c...
      compiling File_Config.c...
      File_Config.c(150): error: #77-D: this declaration has no storage class or type specifier
      DEVCONF const FlashDev [1] = {0,0};
      File_Config.c(150): error: #65: expected a ";"
      DEVCONF const FlashDev [1] = {0,0};
      File_Config.c(169): error: #77-D: this declaration has no storage class or type specifier
      DEVCONF const SpiDev [1] = {0,0};
      File_Config.c(169): error: #65: expected a ";"
      DEVCONF const SpiDev [1] = {0,0};
      File_Config.c(211): error: #77-D: this declaration has no storage class or type specifier
      DEVCONF const RamDev [1] = {0,0};
      File_Config.c(211): error: #65: expected a ";"
      DEVCONF const RamDev [1] = {0,0};
      File_Config.c: 0 warnings, 6 errors
      compiling main.c...
      main.c(46): warning: #167-D: argument of type "S8 *" is incompatible with parameter of type "const char *restrict"
      strcpy(NAME,&info.name[i]);
      main.c(64): warning: #167-D: argument of type "S8 *" is incompatible with parameter of type "const char *restrict"
      strcpy(NAME,&info.name[i]);
      main.c(109): warning: #127-D: expectd a statement
      }
      main.c(152): error: #165: too few arguments in function call
      while ((retv = finit ()) != 0) /* Wait until the Card is ready*/
      main.c: 3 warnings, 1 error
      compiling SPI_LPC17xx.c...
      compiling Retarget.c...
      ".\player.axf" - 7 Error(s), 3 Warning(s).
      Target not created
      مشکل من حل شد کسایی که این مشکل رو دارن به اینجا یه سری بزنن :

      http://www.eca.ir/forum2/index.php?topic=83005.0

      دیدگاه

      لطفا صبر کنید...
      X