From 312bde54b4fb11728e17e3fd9ff8bece98755991 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Thu, 1 Mar 2018 09:25:06 +1100 Subject: [PATCH] HAL_ChibiOS: added fmuv2 build for 1M flash boards --- libraries/AP_HAL_ChibiOS/hwdef/fmuv2/hwdef.dat | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 libraries/AP_HAL_ChibiOS/hwdef/fmuv2/hwdef.dat diff --git a/libraries/AP_HAL_ChibiOS/hwdef/fmuv2/hwdef.dat b/libraries/AP_HAL_ChibiOS/hwdef/fmuv2/hwdef.dat new file mode 100644 index 0000000000..e67593b4c1 --- /dev/null +++ b/libraries/AP_HAL_ChibiOS/hwdef/fmuv2/hwdef.dat @@ -0,0 +1,12 @@ +# FMUv2 build, same as fmuv3, but 1M flash to avoid hardware issue +# with 2nd half of flash on early STM32F427 chips + +include ../fmuv3/hwdef.dat + +FLASH_SIZE_KB 1024 + +# this reduces features to keep the firmware small. This is not +# actually needed as of February 2018 as the full build does fit in +# 1M, but it prepares us for when large features such as scripting are +# added to the build +define HAL_MINIMIZE_FEATURES 1