今天再编译RT_thread程序的时候,报了下面的错误
d:/software/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:/software/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 9064 bytes
collect2.exe: error: ld returned 1 exit status
make: *** [makefile:64: rtthread.elf] Error 1
"make -j8 all" terminated with exit code 2. Build might be incomplete.
百度搜一下,最终找到了解决的方案,
在下面这个文档里详细的说明了怎么取配置。
参考文档:https://blog.csdn.net/weixin_42566346/article/details/108406808