打印

例程移植到STM32F103RB,如何减少UC/OS-III占用的RAM

[复制链接]
559|0
手机看帖
扫描二维码
随时随地手机跟帖
跳转到指定楼层
楼主
我在开发板上把程序框架和基本功能实现后,选用了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)”,按照“尝试一”移植,还是编译不过

使用特权

评论回复

相关帖子

发新帖 我要提问
您需要登录后才可以回帖 登录 | 注册

本版积分规则

370

主题

370

帖子

0

粉丝