HAL_ChibiOS: default AP_BOOTLOADER_ALWAYS_ERASE to 1 on AP_Periph

This commit is contained in:
Andrew Tridgell 2023-07-09 18:12:39 +10:00
parent fa74d5516b
commit 7a1b7e85be
1 changed files with 4 additions and 0 deletions

View File

@ -3318,6 +3318,10 @@ INCLUDE common.ld
#define AP_BARO_ENABLED defined(HAL_PERIPH_ENABLE_BARO)
#define AP_GPS_ENABLED defined(HAL_PERIPH_ENABLE_GPS)
#ifndef AP_BOOTLOADER_ALWAYS_ERASE
#define AP_BOOTLOADER_ALWAYS_ERASE 1
#endif
// end AP_Periph defaults
''')