PX4-Autopilot
PX4-Autopilot copied to clipboard
Insufficient Space for FLASH on Pixhawk 6x build
Describe the bug
Tried to compile code in the latest version of main for a Pixhawk 6x, but ran into an error during build that there was insufficient space in the FLASH region
To Reproduce
Steps to reproduce the behavior:
- git clone latest main branch (does not need to include submodules)
- run build command:
make px4_fmu-v6x_default
- See error on build command
Expected behavior
Should run into error compiling that FLASH region overflowed.
Same here.
git log
Commit hash (main): 32c6ec06 This commit was successfully built.
Commit hash (main): 32c6ec0 This commit was successfully built.
@muramura
Your FLASH Used Size
is about 20KB less than ours. 🤔 Any idea why? We're on the same commit. Maybe it's the compiler?
Commit hash (main): 32c6ec0 This commit was successfully built.
Just curious, what version of Linux are you running on for your development environment?
master/main (6a0f394d)
main (6a0f394) :(
I use the following version of my GCC. ArduPilot uses this version. I also develop ArduPilot.
gcc-arm-none-eabi-10-2020-q4-major
I met the same issue as well, what I did was using the command make px4_fmu-v6x boardguiconfig
and unselect some of the unused modules or drivers (for example uavcan, camera_capture, and camera_trigger) and save the new configuration, then it solved the problem.
It would be interesting to compare the compiler differences (20KB result is quite big!), but this itself is a re occurring problem in PX4 👻