|
发表于 2021-11-7 00:30:26
3125 浏览 1 回复
px4固件编译问题
本帖最后由 liuhaicheng 于 2021-11-7 00:35 编辑
hzx@hzx:~/px4-autopilot$ git checkout v1.12.0-beta1
f4/version/libarch_version.a platforms/common/uORB/libuORB.a src/lib/parameters/flashparams/libflashparams.a NuttX/apps/libapps.a src/lib/perf/libperf.a src/lib/parameters/tinybson/libtinybson.a NuttX/nuttx/libs/libxx/libxx.a NuttX/nuttx/libs/libc/libc.a NuttX/nuttx/drivers/libdrivers.a NuttX/nuttx/fs/libfs.a NuttX/nuttx/mm/libmm.a NuttX/nuttx/sched/libsched.a -lgcc msg/libuorb_msgs.a -lm && :
Memory region Used Size Region Size %age Used
flash: 1032857 B 1008 KB 100.06%
sram: 25492 B 192 KB 12.97%
ccsram: 0 GB 64 KB 0.00/opt/gcc-arm-none-eabi-7-2017-q4-major/bin/../lib/gcc/arm-none-eabi/7.2.1/../../../../arm-none-eabi/bin/ld: px4_fmu-v2_default.elf section `.data' will not fit in region `flash'
/opt/gcc-arm-none-eabi-7-2017-q4-major/bin/../lib/gcc/arm-none-eabi/7.2.1/../../../../arm-none-eabi/bin/ld: region `flash' overflowed by 665 bytes
collect2: error: ld returned 1 exit status
%
ninja: build stopped: subcommand failed.
Makefile:219: recipe for target 'px4_fmu-v2_default' failed
make: *** [px4_fmu-v2_default] Error 1
我使用v1.12.0-beta1版本固件修改drivers,添加了光流和激光雷达驱动,编译报错。求教
eason已获得悬赏 3 阿木币最佳答案
搜索关键词region `flash' overflowed by 665 bytes,可参考下面博客,https://blog.csdn.net/XL__MAX/article/details/105885944
|
扫一扫浏览分享
|
|
|
|
|
|
|
发表于 2021-11-8 09:12:40
|
|
|
|
|
|
|