From f84424cca4689164168b8c46baba47f3df83d6f9 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Thu, 12 Jul 2018 11:27:44 +1000 Subject: [PATCH] HAL_ChibiOS: added specific builds for the Pixracer and mRoX21 boards --- libraries/AP_HAL_ChibiOS/hwdef/Pixracer/hwdef-bl.dat | 4 ++++ libraries/AP_HAL_ChibiOS/hwdef/Pixracer/hwdef.dat | 4 ++++ libraries/AP_HAL_ChibiOS/hwdef/mRoX21/hwdef-bl.dat | 4 ++++ libraries/AP_HAL_ChibiOS/hwdef/mRoX21/hwdef.dat | 6 ++++++ 4 files changed, 18 insertions(+) create mode 100644 libraries/AP_HAL_ChibiOS/hwdef/Pixracer/hwdef-bl.dat create mode 100644 libraries/AP_HAL_ChibiOS/hwdef/Pixracer/hwdef.dat create mode 100644 libraries/AP_HAL_ChibiOS/hwdef/mRoX21/hwdef-bl.dat create mode 100644 libraries/AP_HAL_ChibiOS/hwdef/mRoX21/hwdef.dat diff --git a/libraries/AP_HAL_ChibiOS/hwdef/Pixracer/hwdef-bl.dat b/libraries/AP_HAL_ChibiOS/hwdef/Pixracer/hwdef-bl.dat new file mode 100644 index 0000000000..713f86d5b9 --- /dev/null +++ b/libraries/AP_HAL_ChibiOS/hwdef/Pixracer/hwdef-bl.dat @@ -0,0 +1,4 @@ +# hw definition file for processing by chibios_hwdef.py for the +# mRo Pixracer board. This is a fmuv4 board + +include ../fmuv4/hwdef-bl.dat diff --git a/libraries/AP_HAL_ChibiOS/hwdef/Pixracer/hwdef.dat b/libraries/AP_HAL_ChibiOS/hwdef/Pixracer/hwdef.dat new file mode 100644 index 0000000000..335f0d4544 --- /dev/null +++ b/libraries/AP_HAL_ChibiOS/hwdef/Pixracer/hwdef.dat @@ -0,0 +1,4 @@ +# hw definition file for processing by chibios_hwdef.py for the +# mRo Pixracer board. This is a fmuv4 board + +include ../fmuv4/hwdef.dat diff --git a/libraries/AP_HAL_ChibiOS/hwdef/mRoX21/hwdef-bl.dat b/libraries/AP_HAL_ChibiOS/hwdef/mRoX21/hwdef-bl.dat new file mode 100644 index 0000000000..a92b3ba316 --- /dev/null +++ b/libraries/AP_HAL_ChibiOS/hwdef/mRoX21/hwdef-bl.dat @@ -0,0 +1,4 @@ +# hw definition file for processing by chibios_hwdef.py for the +# mRo X2.1 board. This is a fmuv3, with BRD_TYPE forced to 20 + +include ../fmuv3/hwdef-bl.dat diff --git a/libraries/AP_HAL_ChibiOS/hwdef/mRoX21/hwdef.dat b/libraries/AP_HAL_ChibiOS/hwdef/mRoX21/hwdef.dat new file mode 100644 index 0000000000..143e6bcb1d --- /dev/null +++ b/libraries/AP_HAL_ChibiOS/hwdef/mRoX21/hwdef.dat @@ -0,0 +1,6 @@ +# hw definition file for processing by chibios_hwdef.py for the +# mRo X2.1 board. This is a fmuv3, with BRD_TYPE forced to 20 + +include ../fmuv3/hwdef.dat + +define BOARD_TYPE_DEFAULT 20