From ad2d9d166657e90e907a0a240848d819a3b169e5 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Wed, 2 Oct 2019 18:47:42 +1000 Subject: [PATCH] HAL_ChibiOS: added a f103-ADSB firmware for presenting a ping ADSB device as UAVCAN --- .../AP_HAL_ChibiOS/hwdef/f103-ADSB/hwdef-bl.dat | 6 ++++++ libraries/AP_HAL_ChibiOS/hwdef/f103-ADSB/hwdef.dat | 12 ++++++++++++ 2 files changed, 18 insertions(+) create mode 100644 libraries/AP_HAL_ChibiOS/hwdef/f103-ADSB/hwdef-bl.dat create mode 100644 libraries/AP_HAL_ChibiOS/hwdef/f103-ADSB/hwdef.dat diff --git a/libraries/AP_HAL_ChibiOS/hwdef/f103-ADSB/hwdef-bl.dat b/libraries/AP_HAL_ChibiOS/hwdef/f103-ADSB/hwdef-bl.dat new file mode 100644 index 0000000000..8122650811 --- /dev/null +++ b/libraries/AP_HAL_ChibiOS/hwdef/f103-ADSB/hwdef-bl.dat @@ -0,0 +1,6 @@ +include ../f103-periph/hwdef-bl.dat + +define CAN_APP_NODE_NAME "org.ardupilot.ap_periph_adsb" + +define HAL_CAN_DEFAULT_NODE_ID 116 + diff --git a/libraries/AP_HAL_ChibiOS/hwdef/f103-ADSB/hwdef.dat b/libraries/AP_HAL_ChibiOS/hwdef/f103-ADSB/hwdef.dat new file mode 100644 index 0000000000..90a2ae1e85 --- /dev/null +++ b/libraries/AP_HAL_ChibiOS/hwdef/f103-ADSB/hwdef.dat @@ -0,0 +1,12 @@ +include ../f103-periph/hwdef.dat + +#STDOUT_SERIAL SD1 +#STDOUT_BAUDRATE 115200 + +define CAN_APP_NODE_NAME "org.ardupilot.ap_periph_adsb" + +define HAL_CAN_DEFAULT_NODE_ID 116 + +# ADSB enable +define ADSB_PORT hal.uartB +define HAL_PERIPH_ENABLE_ADSB