高中生
最后登录1970-1-1
在线时间 小时
注册时间2014-8-9
|
本帖最后由 goodidears 于 2016-5-31 17:41 编辑
我在开发板上把程序框架和基本功能实现后,选用了STM32F103RB画板子,程序移植后编译通不过,提示错误如下,急等解决方法
linking...
.\Objects\HT.axf: Error: L6406E: No space in execution regions with .ANY selector matching lib_mem.o(.bss).
.\Objects\HT.axf: Error: L6406E: No space in execution regions with .ANY selector matching app.o(.bss).
.\Objects\HT.axf: Error: L6406E: No space in execution regions with .ANY selector matching os_cfg_app.o(.bss).
.\Objects\HT.axf: Error: L6406E: No space in execution regions with .ANY selector matching os_var.o(.bss).
.\Objects\HT.axf: Error: L6406E: No space in execution regions with .ANY selector matching startup_stm32f10x_md.o(STACK).
.\Objects\HT.axf: Error: L6406E: No space in execution regions with .ANY selector matching os_var.o(.data).
.\Objects\HT.axf: Error: L6406E: No space in execution regions with .ANY selector matching cpu_core.o(.data).
.\Objects\HT.axf: Error: L6406E: No space in execution regions with .ANY selector matching stm32f10x_rcc.o(.data).
.\Objects\HT.axf: Error: L6406E: No space in execution regions with .ANY selector matching cpu_core.o(.bss).
.\Objects\HT.axf: Error: L6406E: No space in execution regions with .ANY selector matching lib_mem.o(.data).
.\Objects\HT.axf: Error: L6406E: No space in execution regions with .ANY selector matching os_prio.o(.data).
.\Objects\HT.axf: Error: L6406E: No space in execution regions with .ANY selector matching os_cpu_c.o(.data).
.\Objects\HT.axf: Error: L6407E: Sections of aggregate size 0xa888 bytes could not fit into .ANY selector(s).
Not enough information to list image symbols.
Not enough information to list the image map.
Finished: 2 information, 0 warning and 13 error messages.
".\Objects\HT.axf" - 13 Error(s), 0 Warning(s).
已做的改动尝试一:
1.把DEVICE改为stm32f103RB;
2.c++中“STM32F10X_HD”改为“STM32F10X_MD”
3.启动文件改为MD,修改PendSV Handler和SysTick Handler分别为OS_CPU_PendSVHandler、OS_CPU_SysTickHandler但还是编译不通过
已做的改动尝试二:
1.我以为是程序太大,芯片空间不足,就把开发板的“多任务(切换三个LED)”,按照“尝试一”移植,还是编译不过
|
|