Hello PX4 Community,
I am currently working with a custom flight controller based on the STM32F427VI, which is compatible with the PX4 FMU-v3 architecture. The hardware design is largely identical to FMU-v3, with only some differences in sensors. I have successfully enabled and initialized the drivers for these sensors, which are already present in PX4-Autopilot.
RAM remains 30 KB until I enable CAN for camera and GPS connectivity. At that point, the available RAM drops to just 6–7 KB (out of 256 KB total), leaving insufficient memory to flash the firmware properly. QGroundControl displays a “High RAM Usage” error, preventing the system from functioning correctly.
I have attempted to optimize memory usage by disabling unused drivers in default.px4board
, but the impact has been minimal.
I would appreciate any suggestions or guidance on further reducing RAM usage. Are there additional modules, features, or settings I could disable? Has anyone faced similar RAM constraints on FMU-v3 and found a solution?