Toggle navigation
首页
问答
文章
积分商城
专家
专区
更多专区...
文档中心
返回主站
搜索
提问
会员
中心
登录
注册
keil_MDK
超出ROM
linker链接报错
M0内核Air001移植RT-Thread出现问题?
发布于 2023-09-02 16:22:21 浏览:930
订阅该版
通过教程安装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
被浏览
930
关于作者
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
【最新活动】RT-Thread论坛活动正在进行(2026年5月活动已更新)
4
国产MCU移植系列教程汇总,欢迎查看!
5
机器人操作系统 (ROS2) 和 RT-Thread 通信
6
【技术三千问】之《玩转ART-Pi》,看这篇就够了!干货汇总
7
五分钟玩转RT-Thread新社区
8
关于STM32H7开发板上使用SDIO接口驱动SD卡挂载文件系统的问题总结
9
STM32的“GPU”——DMA2D实例详解
10
RT-Thread隐藏的宝藏之completion
最新文章
1
【RSOC26】Day2:RT-Thread 启动流程、线程调度与 SCons 构建实践
2
【RSOC26】RT-Thread 线程内核入门:启动流程、线程机制与 SCons 实操
3
【RSOC26】RT-Thread 内核机制与 STM32F407 平台启动、调度及构建解析
4
【RSOC26】Day1-从Git协作到RT-Thread启动链路
5
【RSOC26】第一天学习(环境的搭建以及git and gitee)
热门标签
RT-Thread Studio
串口
Env
LWIP
SPI
Bootloader
AT
Hardfault
CAN总线
ART-Pi
FinSH
DMA
USB
RT-Thread
SCons
文件系统
RT-Thread Nano
线程
MQTT
STM32
FAL
rt-smart
BSP
cubemx
RTC
WIZnet_W5500
PWM
I2C_IIC
UART
packages_软件包
GD32
ota在线升级
ESP8266
freemodbus
flash
keil_MDK
编译报错
ADC
潘多拉开发板_Pandora
flashDB
Debug
ulog
msh
rt_mq_消息队列_msg_queue
socket
MicroPython
SDIO总线
中断
SFUD
QEMU
本月问答贡献
crystal266
3
个答案
1
次被采纳
CYFS
3
个答案
1
次被采纳
oxlm
1
个答案
1
次被采纳
王棒棒
1
个答案
1
次被采纳
wdfk_prog
1
个答案
1
次被采纳
本月文章贡献
Ewan11111
3
篇文章
1
次点赞
金阳阳
2
篇文章
1
次点赞
longtsing
1
篇文章
4
次点赞
RTT_Studio
1
篇文章
4
次点赞
枫雪天
1
篇文章
3
次点赞
回到
顶部
发布
问题
分享
好友
手机
浏览
扫码手机浏览
投诉
建议
回到
底部