選擇21434的,一啟用API函數就出錯,大家幫幫忙啊!工程在附件,錯誤如下:
Linking with linkfile
-F0x30 -g -blit:0x150.0x1fff
-bdata:0.0x100 -bSSCParmBlk:0x00F7.0x00FF -BInterruptRAM:0 -Bvirtual_registers
-Btg_RAM
-Btg_RAM
-Btg_RAM
-o"output/TG"
./obj/main.o
C:/DOCUME~1/ADMINI~1.CHO/??/TG/TG/lib/libPSoc.a -LC:/PROGRA~1/Cypress/Common/CY3E64~1/tools/lib/LMM/eightpages C:/PROGRA~1/Cypress/Common/CY3E64~1/tools/lib/CY8C21030/cms.a C:/PROGRA~1/Cypress/Common/CY3E64~1/tools/lib/LMM/UASW/NoMAC/arith.a
ilinkm8c.exe -u ./obj/boot.o @linkfile
LMM info: area 'InterruptRAM' uses 8 bytes in SRAM page 0
LMM info: area 'virtual_registers' uses 2 bytes in SRAM page 0
!W warning: the value 0xff is written to location 0x157 more than once.
!E C:\PROGRA~1\Cypress\Common\CY3E64~1\tools\Overlap.txt(0) Address from 0x150 to 0x15a already contains a value
C:\PROGRA~1\Cypress\Common\CY3E64~1\tools\make: *** [output/TG.rom] Error 1
TG - 2 error(s) 1 warning(s) 10:40:55 |