Toggle navigation
首页
问答
文章
积分商城
专家
专区
更多专区...
文档中心
返回主站
搜索
提问
会员
中心
登录
注册
keil_MDK
超出ROM
linker链接报错
M0内核Air001移植RT-Thread出现问题?
发布于 2023-09-02 16:22:21 浏览:345
订阅该版
通过教程安装RTOS之后编译便出现以下错误: ``` .\Output\Debug\Project.axf: Error: L6200E: Symbol main multiply defined (by components.o and system_air001xx.o). Not enough information to list image symbols. Not enough information to list load addresses in the image map. Finished: 2 information, 0 warning and 1 error messages. ".\Output\Debug\Project.axf" - 1 Error(s), 0 Warning(s). ``` 有两个main的入口点,components.c的无法编辑改变,而注释掉另一个文件的main则会引入以下错误 ``` .\Output\Debug\Project.axf: Error: L6406E: No space in execution regions with .ANY selector matching board.o(.bss.rt_heap). .\Output\Debug\Project.axf: Error: L6406E: No space in execution regions with .ANY selector matching startup_air001_dev.o(STACK). .\Output\Debug\Project.axf: Error: L6406E: No space in execution regions with .ANY selector matching idle.o(.bss.rt_thread_stack). .\Output\Debug\Project.axf: Error: L6406E: No space in execution regions with .ANY selector matching scheduler.o(.bss.rt_thread_priority_table). .\Output\Debug\Project.axf: Error: L6406E: No space in execution regions with .ANY selector matching idle.o(.bss.idle). .\Output\Debug\Project.axf: Error: L6406E: No space in execution regions with .ANY selector matching kservice.o(.bss.rt_kprintf.rt_log_buf). .\Output\Debug\Project.axf: Error: L6406E: No space in execution regions with .ANY selector matching object.o(.data.rt_object_container). .\Output\Debug\Project.axf: Error: L6406E: No space in execution regions with .ANY selector matching mem.o(.bss.heap_sem). .\Output\Debug\Project.axf: Error: L6406E: No space in execution regions with .ANY selector matching scheduler.o(.bss.rt_thread_defunct). .\Output\Debug\Project.axf: Error: L6406E: No space in execution regions with .ANY selector matching timer.o(.bss.rt_timer_list). .\Output\Debug\Project.axf: Error: L6406E: No space in execution regions with .ANY selector matching system_air001xx.o(.data.SystemCoreClock). .\Output\Debug\Project.axf: Error: L6406E: No space in execution regions with .ANY selector matching air001xx_hal.o(.data.uwTickPrio). .\Output\Debug\Project.axf: Error: L6406E: No space in execution regions with .ANY selector matching air001xx_hal.o(.data.uwTickFreq). .\Output\Debug\Project.axf: Error: L6406E: No space in execution regions with .ANY selector matching air001xx_hal.o(.bss.uwTick). .\Output\Debug\Project.axf: Error: L6406E: No space in execution regions with .ANY selector matching cpuport.o(.bss.rt_interrupt_from_thread). .\Output\Debug\Project.axf: Error: L6406E: No space in execution regions with .ANY selector matching cpuport.o(.bss.rt_interrupt_to_thread). .\Output\Debug\Project.axf: Error: L6406E: No space in execution regions with .ANY selector matching cpuport.o(.bss.rt_thread_switch_interrupt_flag). .\Output\Debug\Project.axf: Error: L6406E: No space in execution regions with .ANY selector matching clock.o(.bss.rt_tick). .\Output\Debug\Project.axf: Error: L6406E: No space in execution regions with .ANY selector matching mem.o(.bss.mem_size_aligned). .\Output\Debug\Project.axf: Error: L6406E: No space in execution regions with .ANY selector matching mem.o(.bss.heap_ptr). .\Output\Debug\Project.axf: Error: L6406E: No space in execution regions with .ANY selector matching mem.o(.bss.heap_end). .\Output\Debug\Project.axf: Error: L6406E: No space in execution regions with .ANY selector matching mem.o(.bss.lfree). .\Output\Debug\Project.axf: Error: L6406E: No space in execution regions with .ANY selector matching mem.o(.bss.used_mem). .\Output\Debug\Project.axf: Error: L6406E: No space in execution regions with .ANY selector matching mem.o(.bss.max_mem). .\Output\Debug\Project.axf: Error: L6406E: No space in execution regions with .ANY selector matching scheduler.o(.bss.rt_current_thread). .\Output\Debug\Project.axf: Error: L6406E: No space in execution regions with .ANY selector matching scheduler.o(.bss.rt_thread_ready_priority_group). .\Output\Debug\Project.axf: Error: L6406E: No space in execution regions with .ANY selector matching timer.o(.bss.rt_timer_start.random_nr). .\Output\Debug\Project.axf: Error: L6406E: No space in execution regions with .ANY selector matching scheduler.o(.bss.rt_scheduler_lock_nest). .\Output\Debug\Project.axf: Error: L6406E: No space in execution regions with .ANY selector matching irq.o(.bss.rt_interrupt_nest). .\Output\Debug\Project.axf: Error: L6406E: No space in execution regions with .ANY selector matching scheduler.o(.bss.rt_current_priority). .\Output\Debug\Project.axf: Error: L6407E: Sections of aggregate size 0x1fc0 bytes could not fit into .ANY selector(s). Not enough information to list image symbols. Not enough information to list load addresses in the image map. Finished: 2 information, 0 warning and 31 error messages. ".\Output\Debug\Project.axf" - 31 Error(s), 0 Warning(s). ``` 请问该如何解决此问题?
查看更多
JonasWen
2023-09-02
这家伙不懒,但是什么也不想写!
RAM不够
3
个回答
默认排序
按发布时间排序
道友
2023-09-03
这家伙很懒,什么也没写!
可以参考一下这个教程,很详细 http://t.csdn.cn/8uA3k 之前根据官方文档没移植成功,按照这个一步步来,水到渠成的就成功了。。。
StackYuan
认证专家
2023-09-05
这家伙很懒,什么也没写!
内存不够力。。还是只移一个core进去吧
撰写答案
登录
注册新账号
关注者
0
被浏览
345
关于作者
WGMR_8942
这家伙很懒,什么也没写!
提问
2
回答
0
被采纳
0
关注TA
发私信
相关问题
1
请问rtt-studio工程如何转为MDK工程?
2
时间片视频教程移植,时间片功能不起作用是什么情况
3
使用env生成keil5工程,怎么添加全局宏?
4
Rtthread-studio编译报错
5
cubemx配置keil正常输出stdio输出不了PWM寄存器的值仿真一样?
6
RTT-Studio生成的工程,子目录没有SConscript文件
7
通过ENV生成的MDK5工程,为什么默认的启动文件是context_gcc.S呢
8
试用了一下liteos,我又回来啦
9
在applications文件夹下添加了新的.c/.h文件后无法生成MDK5工程
10
pandora开发板使用cjson,内存不足。
推荐文章
1
RT-Thread应用项目汇总
2
玩转RT-Thread系列教程
3
机器人操作系统 (ROS2) 和 RT-Thread 通信
4
国产MCU移植系列教程汇总,欢迎查看!
5
五分钟玩转RT-Thread新社区
6
【技术三千问】之《玩转ART-Pi》,看这篇就够了!干货汇总
7
关于STM32H7开发板上使用SDIO接口驱动SD卡挂载文件系统的问题总结
8
STM32的“GPU”——DMA2D实例详解
9
RT-Thread隐藏的宝藏之completion
10
【ART-PI】RT-Thread 开启RTC 与 Alarm组件
最新文章
1
LCD(mipi)+LVGL +gui(适配V8.x版本)
2
上海找工作的小伙伴们,私聊
3
【RA8D1-Vision Board】基于RT-Thread的UART实践
4
【RA8D1-Vision Board】基于RT-Thread的usb设备msc驱动测试
5
【RA8D1-Vision Board】基于RT-Thread的usb设备cdc驱动测试
热门标签
RT-Thread Studio
串口
LWIP
Env
SPI
Bootloader
AT
ART-Pi
Hardfault
CAN总线
FinSH
USB
文件系统
DMA
RT-Thread
SCons
线程
RT-Thread Nano
MQTT
STM32
RTC
FAL
rt-smart
ESP8266
ota在线升级
WIZnet_W5500
I2C_IIC
UART
flash
cubemx
packages_软件包
freemodbus
潘多拉开发板_Pandora
PWM
定时器
ADC
BSP
中断
编译报错
socket
keil_MDK
GD32
flashDB
MicroPython
msh
Debug
ulog
SFUD
SDIO总线
rt_mq_消息队列_msg_queue
本月问答贡献
用户名由3_15位
25
个答案
3
次被采纳
踩姑娘的小蘑菇
16
个答案
3
次被采纳
xiaorui
7
个答案
3
次被采纳
sakumisu
5
个答案
3
次被采纳
JonasWen
5
个答案
2
次被采纳
本月文章贡献
比特饼干
4
篇文章
15
次点赞
ZVML_9668
3
篇文章
3
次点赞
Z_Y
2
篇文章
5
次点赞
Alipay
2
篇文章
3
次点赞
rvcore
2
篇文章
3
次点赞
回到
顶部
发布
问题
分享
好友
手机
浏览
扫码手机浏览
投诉
建议
回到
底部