mirror of https://github.com/ArduPilot/ardupilot
HAL_ChibiOS: default AP_BOOTLOADER_ALWAYS_ERASE to 1 on AP_Periph
This commit is contained in:
parent
fa74d5516b
commit
7a1b7e85be
|
@ -3318,6 +3318,10 @@ INCLUDE common.ld
|
||||||
#define AP_BARO_ENABLED defined(HAL_PERIPH_ENABLE_BARO)
|
#define AP_BARO_ENABLED defined(HAL_PERIPH_ENABLE_BARO)
|
||||||
#define AP_GPS_ENABLED defined(HAL_PERIPH_ENABLE_GPS)
|
#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
|
// end AP_Periph defaults
|
||||||
''')
|
''')
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue