From b2c840bfc682126fa8df2d17934160e999b95d77 Mon Sep 17 00:00:00 2001 From: mikefenghao <757518319@qq.com> Date: Fri, 10 Jan 2025 15:05:34 +0800 Subject: [PATCH 1/3] AP_HAL_ChibiOS: add hwdef MFE_AirSpeed_CAN --- .../hwdef/MFE_AirSpeed_CAN/hwdef-bl.dat | 6 +++++ .../hwdef/MFE_AirSpeed_CAN/hwdef.dat | 27 +++++++++++++++++++ 2 files changed, 33 insertions(+) create mode 100644 libraries/AP_HAL_ChibiOS/hwdef/MFE_AirSpeed_CAN/hwdef-bl.dat create mode 100644 libraries/AP_HAL_ChibiOS/hwdef/MFE_AirSpeed_CAN/hwdef.dat diff --git a/libraries/AP_HAL_ChibiOS/hwdef/MFE_AirSpeed_CAN/hwdef-bl.dat b/libraries/AP_HAL_ChibiOS/hwdef/MFE_AirSpeed_CAN/hwdef-bl.dat new file mode 100644 index 0000000000000..175e176fb8247 --- /dev/null +++ b/libraries/AP_HAL_ChibiOS/hwdef/MFE_AirSpeed_CAN/hwdef-bl.dat @@ -0,0 +1,6 @@ +include ../f103-periph/hwdef-bl.inc + +# board ID for firmware load +APJ_BOARD_ID 6103 +undef PA4 +PA10 LED_BOOTLOADER OUTPUT LOW diff --git a/libraries/AP_HAL_ChibiOS/hwdef/MFE_AirSpeed_CAN/hwdef.dat b/libraries/AP_HAL_ChibiOS/hwdef/MFE_AirSpeed_CAN/hwdef.dat new file mode 100644 index 0000000000000..5e4a73feaff4e --- /dev/null +++ b/libraries/AP_HAL_ChibiOS/hwdef/MFE_AirSpeed_CAN/hwdef.dat @@ -0,0 +1,27 @@ +include ../f103-periph/hwdef.inc + +# board ID for firmware load +APJ_BOARD_ID 6103 + +undef PA4 +undef PA9 +undef PA10 +# a LED to flash +PA10 LED OUTPUT LOW + +# order of UARTs +#undef SERIAL_ORDER + +SERIAL_ORDER EMPTY EMPTY EMPTY USART2 + +# USART2 for debug (disabled) + PA2 USART2_TX USART2 SPEED_HIGH NODMA + PA3 USART2_RX USART2 SPEED_HIGH NODMA + + define HAL_AIRSPEED_BUS_DEFAULT 0 + +# 10" DLVR sensor by default +define HAL_AIRSPEED_TYPE_DEFAULT 1 +define AIRSPEED_MAX_SENSORS 1 + +define HAL_PERIPH_ENABLE_AIRSPEED From 1c5366380364848ee34b6006ab3e024c6ca9dbce Mon Sep 17 00:00:00 2001 From: mikefenghao <757518319@qq.com> Date: Fri, 10 Jan 2025 15:05:35 +0800 Subject: [PATCH 2/3] Tools: add hwdef MFE_AirSpeed_CAN --- Tools/bootloaders/MFE_AirSpeed_CAN_bl.bin | Bin 0 -> 15316 bytes .../hwdef/MFE_AirSpeed_CAN/hwdef.dat | 2 -- modules/DroneCAN/DSDL | 2 +- modules/mavlink | 2 +- 4 files changed, 2 insertions(+), 4 deletions(-) create mode 100644 Tools/bootloaders/MFE_AirSpeed_CAN_bl.bin diff --git a/Tools/bootloaders/MFE_AirSpeed_CAN_bl.bin b/Tools/bootloaders/MFE_AirSpeed_CAN_bl.bin new file mode 100644 index 0000000000000000000000000000000000000000..6f5079808e9d9467fc32c83fb6f28538ba3b0c3d GIT binary patch literal 15316 zcmb_@dt6-Awea5O%;Nw93=b1tA;SzL1A{t*7)kJ&VP-fyCXqa}Um9yYfZ8)eE0U(A zrpgdv8}n$Bka`m^HWj^9Q*VKY1tSg#(I&n+14#>s-k?z@%+z{@N9HgCoNw)cq_Ma6 z_uW4}e!o3uKh|D*?X}ikd+oJ1C<1A+fZry#!+>Tga5?)Y~3G)st`B!*uu1j9|{~q^d`2XMe z3PDn(d0iXQooQb8#)Do}Y%`?CT`5+F7pqKElJh}tQAWC}LO|6P?>e=`yFTt%2lmj-z^Jxlzkp()#~Q|2My>I# z)0n*LH4UpyI|uv{ZStO8S6gD5KnTX5@u~+tiT5YRe&R$hLT$-uKcb3IMv(HK_G>5< zq^2MA<{^_Gp^e@(G~oAsQd?Vc5by*18p>%x>IoE!S53K0UKMJFdK|7VLvf_OaLQHW zRpDQGRP(b(PF|?`k2}X_3U`le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N$EHw|?46v>nuwVR3SlM;F zaGG0ZzmE6ge+kQ6#|yBo8?fE~5>|a3FPz=h)m+E>;tkk^;O}g{$WX#A6a`=60V&}d0bd%v zk?@tK6d4QQ8=4~0RAlHOKiNb4CMnQ1D~GeNN|XYTK`GEOOCXRyb^i!-9^Mmmlb82t z69q(;93evzKq0yVii;8&JwhF=u+1BtGM*95$eBmdhXD`zq` zS0ZgorBWNEA^ZJnJ*$&3%wg^{AqC!^KYKI1WM1R*zT;82n^AY+m6UZq-25Yre1xut z*CiEg@Nyt270z$QF%t7FYVDA*=Ta8dV=LU<-?i5aui1w|+ehT}czLh+np@?Q$^QcP z_umJ%xYk&0dAKkW=Eq<`b zUbnIK;fEi3&{A{{LZ%nL@IS;KP@tl=FUKCXA5 Date: Fri, 10 Jan 2025 15:36:04 +0800 Subject: [PATCH 3/3] AP_HAL_ChibiOS: add hwdef MFE_AirSpeed_CAN --- Tools/bootloaders/MFE_AirSpeed_CAN_bl.bin | Bin 0 -> 15316 bytes .../hwdef/MFE_AirSpeed_CAN/hwdef-bl.dat | 6 ++++ .../hwdef/MFE_AirSpeed_CAN/hwdef.dat | 27 ++++++++++++++++++ 3 files changed, 33 insertions(+) create mode 100644 Tools/bootloaders/MFE_AirSpeed_CAN_bl.bin create mode 100644 libraries/AP_HAL_ChibiOS/hwdef/MFE_AirSpeed_CAN/hwdef-bl.dat create mode 100644 libraries/AP_HAL_ChibiOS/hwdef/MFE_AirSpeed_CAN/hwdef.dat diff --git a/Tools/bootloaders/MFE_AirSpeed_CAN_bl.bin b/Tools/bootloaders/MFE_AirSpeed_CAN_bl.bin new file mode 100644 index 0000000000000000000000000000000000000000..6f5079808e9d9467fc32c83fb6f28538ba3b0c3d GIT binary patch literal 15316 zcmb_@dt6-Awea5O%;Nw93=b1tA;SzL1A{t*7)kJ&VP-fyCXqa}Um9yYfZ8)eE0U(A zrpgdv8}n$Bka`m^HWj^9Q*VKY1tSg#(I&n+14#>s-k?z@%+z{@N9HgCoNw)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