AP_Periph: ensure no external flash in periph

bootloader protocol cannot support it in its current form
This commit is contained in:
Andrew Tridgell 2024-01-18 10:43:11 +11:00
parent 9bf5842ab2
commit 9bb29aec36
1 changed files with 4 additions and 0 deletions

View File

@ -148,6 +148,10 @@ HALSITL::CANIface* AP_Periph_FW::can_iface_periph[HAL_NUM_CAN_IFACES];
SLCAN::CANIface AP_Periph_FW::slcan_interface;
#endif
#ifdef EXT_FLASH_SIZE_MB
static_assert(EXT_FLASH_SIZE_MB == 0, "DroneCAN bootloader cannot support external flash");
#endif
/*
* Node status variables
*/