From bca1bd2c722120fa2ca64bf0a3ef6cde169ca3e5 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Fri, 14 Feb 2020 16:18:40 +1100 Subject: [PATCH] HAL_ChibiOS: added f303-HWESC firmware --- libraries/AP_HAL_ChibiOS/hwdef/f303-HWESC/hwdef-bl.dat | 6 ++++++ libraries/AP_HAL_ChibiOS/hwdef/f303-HWESC/hwdef.dat | 7 +++++++ 2 files changed, 13 insertions(+) create mode 100644 libraries/AP_HAL_ChibiOS/hwdef/f303-HWESC/hwdef-bl.dat create mode 100644 libraries/AP_HAL_ChibiOS/hwdef/f303-HWESC/hwdef.dat diff --git a/libraries/AP_HAL_ChibiOS/hwdef/f303-HWESC/hwdef-bl.dat b/libraries/AP_HAL_ChibiOS/hwdef/f303-HWESC/hwdef-bl.dat new file mode 100644 index 00000000000..9461236f4e2 --- /dev/null +++ b/libraries/AP_HAL_ChibiOS/hwdef/f303-HWESC/hwdef-bl.dat @@ -0,0 +1,6 @@ +include ../f303-periph/hwdef-bl.dat + +# start with a fixed node ID so the board is usable without DNA +define HAL_CAN_DEFAULT_NODE_ID 111 + +define CAN_APP_NODE_NAME "org.ardupilot.ap_periph_HWESC" diff --git a/libraries/AP_HAL_ChibiOS/hwdef/f303-HWESC/hwdef.dat b/libraries/AP_HAL_ChibiOS/hwdef/f303-HWESC/hwdef.dat new file mode 100644 index 00000000000..275cf7b361e --- /dev/null +++ b/libraries/AP_HAL_ChibiOS/hwdef/f303-HWESC/hwdef.dat @@ -0,0 +1,7 @@ +include ../f303-periph/hwdef.dat + +define HAL_CAN_DEFAULT_NODE_ID 111 + +define CAN_APP_NODE_NAME "org.ardupilot.ap_periph_HWESC" + +define HAL_PERIPH_ENABLE_HWESC