Peter Barker
Peter Barker
I've run this through the test-build-options scripts and it all seems to work.
I've done the size-check thing on all boards. The only boards which change are SkyViper and the heavy peripherals. The heavy peripherals lose all of the RCTelemetry code and videotx...
``` Board,AP_Periph,blimp,copter,heli,iofirmware,plane,rover,sub AIRLink,,0,0,0,,0,0,0 ARKV6X,,0,0,0,,0,0,0 ARK_GPS,0,,,,,,, AeroFox-Airspeed,0,,,,,,, AeroFox-PMU,0,,,,,,, AtomRCF405NAVI,,0,0,0,,0,0,0 BeastF7,,0,0,0,,0,0,0 BeastF7v2,,0,0,0,,0,0,0 BeastH7,,0,0,0,,0,0,0 BeastH7v2,,0,0,0,,0,0,0 BirdCANdy,0,,,,,,, CUAV-Nora,,0,0,0,,0,0,0 CUAV-Nora-bdshot,,0,0,0,,0,0,0 CUAV-X7,,0,0,0,,0,0,0 CUAV-X7-bdshot,,0,0,0,,0,0,0 CUAV_GPS,0,,,,,,, CUAVv5,,0,0,0,,0,0,0 CUAVv5-bdshot,,0,0,0,,0,0,0 CUAVv5Nano,,0,0,0,,0,0,0 CUAVv5Nano-bdshot,,0,0,0,,0,0,0 CarbonixF405,0,,,,,,, CarbonixL496,0,,,,,,, CubeBlack,,0,0,0,,0,0,0 CubeBlack+,,0,0,0,,0,0,0 CubeBlack-periph,0,,,,,,, CubeGreen-solo,,,0,,,,, CubeOrange,,0,0,0,,0,0,0 CubeOrange-ODID,,0,0,0,,0,0,0...
Closing this as it's had NeedAnswer on it for years.
Probably worth adding in some defines for this functionality. If we add support for Fence/Rally it will grow several hundred more bytes. Cost: ``` Board AP_Periph blimp bootloader copter heli...
Merged, thanks!
Merged, thanks for your patience @Adithya-Patil , @lvale
Adds ~21kB where it is used: ``` Orange: bootloader/AP_Bootloader 38166 200 130872 38366 92704 bootloader/AP_Bootloader 17792 92 130976 17884 113188 Pixhawk6X: bootloader/AP_Bootloader 38122 200 130876 38322 92744 bootloader/AP_Bootloader 17732 92...
I've now tested this end-to-end on CubeOrange and on a Pixhawk6X. Testing is straight-forward; get the bootloader onto a board, then (e.g.): ``` ftp put /home/pbarker/rc/ardupilot/build/Pixhawk6X/bin/arduplane.abin /ardupilot.abin ``` If someone...
Since @DavideLentini has successfully used this PR I'm going to mark it again for DevCall. If anyone else can take the time to prove it Works For Them, that would...