collect2.exe: error: ld returned 1 exit status
make: *** [makefile:96: rtthread.elf] Error 1
Console-Error: 请修改链接脚本以扩大ROM大小
"make -j8 all" terminated with exit code 2. Build might be incomplete.
简单粗暴方法:在链接脚本里将ROM改大
优雅的方法:参考下面文档手动裁剪,减少程序体积
https://www.rt-thread.org/document/site/#/rt-thread-version/rt-thread-standard/application-note/system/optimization/Optimize-code-size/an0049-optimize-code-size