AP_IOMCU: only build iofirmware for ChibiOS

This commit is contained in:
Andrew Tridgell 2018-09-15 07:39:30 +10:00
parent 19dae42c4f
commit 3641dcee44

View File

@ -2,6 +2,8 @@
#include <AP_HAL/AP_HAL.h> #include <AP_HAL/AP_HAL.h>
#if CONFIG_HAL_BOARD == HAL_BOARD_CHIBIOS
#include <AP_Math/AP_Math.h> #include <AP_Math/AP_Math.h>
#include <AP_Math/crc.h> #include <AP_Math/crc.h>
#include "iofirmware.h" #include "iofirmware.h"
@ -493,3 +495,6 @@ void AP_IOMCU_FW::rcout_mode_update(void)
} }
AP_HAL_MAIN(); AP_HAL_MAIN();
#endif // HAL_BOARD_CHIBIOS