【问题现象1】
错误 ....sourceplatformoardstm32litearmccstm32-lite.sct(17): error: L6236E: No section matches selector - no section to be FIRST/LAST.
【问题原因1】
没有段与选择符匹配,指定为FIRST或LAST的段不存在,例如编译文件为 startup_stm32f10x_hd.s 实际在配置脚本中指定文件为 startup_stm32f10x_md.s
[mw_shl_code=c,true] RW_IRAM1 0x20000000 0x00003e00 { ; RW data
startup_stm32f10x_md.o (STACK, +First)
startup_stm32f10x_md.o (HEAP, +RW +ZI)
kbcom_stack.o (.IdleStack, +RW +ZI)
kblite_memory.o (.Region0, +RW +ZI)
kbstm32_stack.o (.BootStack, +RW +ZI)
}[/mw_shl_code] |