diff --git a/libraries/AP_HAL/AP_HAL_Boards.h b/libraries/AP_HAL/AP_HAL_Boards.h index 027b8f4a07bd12..7337e3dcbefd12 100644 --- a/libraries/AP_HAL/AP_HAL_Boards.h +++ b/libraries/AP_HAL/AP_HAL_Boards.h @@ -303,6 +303,10 @@ #endif #endif +#ifndef AP_BOOTLOADER_FLASHING_ENABLED +#define AP_BOOTLOADER_FLASHING_ENABLED 0 +#endif + #ifndef HAL_HNF_MAX_FILTERS // On an F7 The difference in CPU load between 1 notch and 24 notches is about 2% // The difference in CPU load between 1Khz backend and 2Khz backend is about 10%