Memory region Used Size Region Size %age Used
flash: 1036445 B 1008 KB 100.41%
sram: 25428 B 192 KB 12.93%
ccsram: 0 GB 64 KB 0.00%
/usr/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/bin/ld: ../../px4_fmu-v2_default.elf section `.text' will not fit in region `flash'
/usr/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/bin/ld: region `flash' overflowed by 4253 bytes
collect2: error: ld returned 1 exit status
platforms/nuttx/CMakeFiles/px4.dir/build.make:268: recipe for target 'px4_fmu-v2_default.elf' failed
make[3]: *** [px4_fmu-v2_default.elf] Error 1
CMakeFiles/Makefile2:11700: recip
PX4固件编译问题region `flash‘ overflowed by 4253 bytes
博客内容讲述了在嵌入式系统中遇到的固件大小超过flash存储限制的问题。编译过程中,由于内存区域使用超出预期,导致ld链接错误。解决方案是调整内存分区设置,增大flash容量到2032KB,重新编译以避免溢出。此问题涉及到嵌入式系统的内存管理与固件优化。

最低0.47元/天 解锁文章

被折叠的 条评论
为什么被折叠?



