AP_PiccoloCAN: limit to boards with >2MB of flash

This commit is contained in:
Peter Barker
2026-04-07 09:32:36 +09:00
committed by Randy Mackay
parent 5842f5616c
commit f25ca332ac
@@ -20,5 +20,5 @@
#include <AP_HAL/AP_HAL_Boards.h>
#ifndef AP_PICCOLOCAN_ENABLED
#define AP_PICCOLOCAN_ENABLED HAL_NUM_CAN_IFACES
#define AP_PICCOLOCAN_ENABLED (HAL_NUM_CAN_IFACES && HAL_PROGRAM_SIZE_LIMIT_KB > 2048)
#endif // AP_PICCOLOCAN_ENABLED