From e3a965272c3023b9f394d8e5a2d558843ed79482 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Mon, 30 Sep 2019 06:00:48 +1000 Subject: [PATCH] HAL_ChibiOS: added Pixhawk1-1M this is for 1M versions of the Pixhawk1. It is smaller than fmuv2 as it only links the specific sensors needed for Pixhawk1 --- libraries/AP_HAL_ChibiOS/hwdef/Pixhawk1-1M/hwdef-bl.dat | 4 ++++ libraries/AP_HAL_ChibiOS/hwdef/Pixhawk1-1M/hwdef.dat | 7 +++++++ 2 files changed, 11 insertions(+) create mode 100644 libraries/AP_HAL_ChibiOS/hwdef/Pixhawk1-1M/hwdef-bl.dat create mode 100644 libraries/AP_HAL_ChibiOS/hwdef/Pixhawk1-1M/hwdef.dat diff --git a/libraries/AP_HAL_ChibiOS/hwdef/Pixhawk1-1M/hwdef-bl.dat b/libraries/AP_HAL_ChibiOS/hwdef/Pixhawk1-1M/hwdef-bl.dat new file mode 100644 index 0000000000..a71c921aa7 --- /dev/null +++ b/libraries/AP_HAL_ChibiOS/hwdef/Pixhawk1-1M/hwdef-bl.dat @@ -0,0 +1,4 @@ +# hw definition file for processing by chibios_hwdef.py +# for pixhawk1, based on fmuv3 + +include ../fmuv3/hwdef-bl.dat diff --git a/libraries/AP_HAL_ChibiOS/hwdef/Pixhawk1-1M/hwdef.dat b/libraries/AP_HAL_ChibiOS/hwdef/Pixhawk1-1M/hwdef.dat new file mode 100644 index 0000000000..4b40312f58 --- /dev/null +++ b/libraries/AP_HAL_ChibiOS/hwdef/Pixhawk1-1M/hwdef.dat @@ -0,0 +1,7 @@ +# hw definition file for processing by chibios_hwdef.py +# for Pixhawk1-1M, based on Pixhawk1 + +include ../Pixhawk1/hwdef.dat + +FLASH_SIZE_KB 1024 +define HAL_MINIMIZE_FEATURES 1