自己建立工程直接编译可以通过,但是添加了其他功能后,再次编译出现 F:/SEGGER/SEGGER Embedded Studio for ARM 3.40/gcc/arm-none-eabi/bin/ld:F:/Program/SEGGER/Norbic/uart/Output/uart Release/Obj/uart.ld:21: syntax error
F:/SEGGER/SEGGER Embedded Studio for ARM 3.40/gcc/arm-none-eabi/bin/ld:F:/Program/SEGGER/Norbic/uart/Output/uart Release/Obj/uart.ld:21: syntax error
已经解决 自建工程使用官方SDK时需要注意空间分配 Edit Options->Common->Linker->Section Placement Macros
FLASH_PH_START=0x0 FLASH_PH_SIZE=0x100000 RAM_PH_START=0x20000000 RAM_PH_SIZE=0x40000 FLASH_START=0x0 FLASH_SIZE=0x100000 RAM_START=0x20000000 RAM_SIZE=0x40000