ardupilot
ardupilot copied to clipboard
Tidy creation of TBS peripheral firmwares
Incorporates https://github.com/ArduPilot/ardupilot/pull/30381 (fix for hex file generation when using USE_BOOTLOADER_FROM_BOARD)
The hwdefs were referencing a board which didn't exist (via USE_BOOTLOADER_FROM_BOARD); fixed to point to correct base board
Fixed creation of .hex files with embedded bootloader where USE_BOOTLOADER_FROM_BOARD with a patch to chibios_hwdef.py and waf's chibios.py
Rebuilt the base bootloader under correct name.
Removed old bootloader files and their -bl.dat files
with_bl.hex files created (eg.):
pbarker@crun:~/rc/ardupilot(pr/tidy-TBS-periphs)$ ls -la /home/pbarker/rc/ardupilot/build/TBS-L431-Airspeed/bin/
total 1300
drwxrwxr-x 2 pbarker pbarker 4096 Jun 17 22:01 .
drwxrwxr-x 8 pbarker pbarker 4096 Jun 17 22:01 ..
-rwxrwxr-x 1 pbarker pbarker 423128 Jun 17 22:01 AP_Periph
-rw-rw-r-- 1 pbarker pbarker 157861 Jun 17 22:01 AP_Periph.apj
-rwxrwxr-x 1 pbarker pbarker 165080 Jun 17 22:01 AP_Periph.bin
-rw-rw-r-- 1 pbarker pbarker 566692 Jun 17 22:01 AP_Periph_with_bl.hex
pbarker@crun:~/rc/ardupilot(pr/tidy-TBS-periphs)$
Only output change is that the romfs on the periphs is 60-odd bytes larger.