From c33b692f53e3bdec929b60df4853a0a901ebe31e Mon Sep 17 00:00:00 2001 From: mirkix Date: Mon, 13 Aug 2018 22:21:55 +0200 Subject: [PATCH] AP_HAL_ChibiOS: fix CubeYellow build --- libraries/AP_HAL_ChibiOS/hwdef/CubeYellow/hwdef.dat | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libraries/AP_HAL_ChibiOS/hwdef/CubeYellow/hwdef.dat b/libraries/AP_HAL_ChibiOS/hwdef/CubeYellow/hwdef.dat index 19d99d81f6..cc6db60abb 100644 --- a/libraries/AP_HAL_ChibiOS/hwdef/CubeYellow/hwdef.dat +++ b/libraries/AP_HAL_ChibiOS/hwdef/CubeYellow/hwdef.dat @@ -400,6 +400,9 @@ define HAL_BOARD_TERRAIN_DIRECTORY "/APM/TERRAIN" # available (in bytes) define HAL_STORAGE_SIZE 16384 +# allow to have have a dedicated safety switch pin +define HAL_HAVE_SAFETY_SWITCH 1 + # this enables the use of a ramtron device for storage, if one is # found on SPI. You must have a ramtron entry in the SPI device table