嵌入式技术论坛
直播中

梅利号

8年用户 1494经验值
擅长:可编程逻辑
私信 关注
[问答]

Rt-thread studio编译出现问题怎么解决?

刚接触rt-thread studio 按照官网教程编译项目的时候出现以下错误

d:/rt-threadstudio/repo/extract/toolchain_support_packages/arm/gnu_tools_for_arm_embedded_processors/5.4.1/bin/../lib/gcc/arm-none-eabi/5.4.1/../../../../arm-none-eabi/bin/ld.exe: rtthread.elf section .text' will not fit in region ROM'
d:/rt-threadstudio/repo/extract/toolchain_support_packages/arm/gnu_tools_for_arm_embedded_processors/5.4.1/bin/../lib/gcc/arm-none-eabi/5.4.1/../../../../arm-none-eabi/bin/ld.exe: region `ROM' overflowed by 3056 bytes
collect2.exe: error: ld returned 1 exit status

回帖(1)

风来吴山

2023-4-27 10:46:02
MCU ROM太小
建议:

换个ROM更大的芯片
尝试调整 ARM GCC 的优化等级
举报

更多回帖

发帖
×
20
完善资料,
赚取积分