diff --git a/libraries/AP_HAL_ChibiOS/hwdef/MatekF765-Wing-bdshot/defaults.parm b/libraries/AP_HAL_ChibiOS/hwdef/MatekF765-Wing-bdshot/defaults.parm new file mode 100644 index 0000000000..7b610d2326 --- /dev/null +++ b/libraries/AP_HAL_ChibiOS/hwdef/MatekF765-Wing-bdshot/defaults.parm @@ -0,0 +1,2 @@ +SERVO13_FUNCTION 120 +NTF_LED_TYPES 455 diff --git a/libraries/AP_HAL_ChibiOS/hwdef/MatekF765-Wing-bdshot/hwdef-bl.dat b/libraries/AP_HAL_ChibiOS/hwdef/MatekF765-Wing-bdshot/hwdef-bl.dat new file mode 100644 index 0000000000..b3863b4997 --- /dev/null +++ b/libraries/AP_HAL_ChibiOS/hwdef/MatekF765-Wing-bdshot/hwdef-bl.dat @@ -0,0 +1,4 @@ +# hw definition file for processing by chibios_pins.py +# for Matek F765-Wing bootloader + +include ../MatekF765-Wing/hwdef-bl.dat diff --git a/libraries/AP_HAL_ChibiOS/hwdef/MatekF765-Wing-bdshot/hwdef.dat b/libraries/AP_HAL_ChibiOS/hwdef/MatekF765-Wing-bdshot/hwdef.dat new file mode 100644 index 0000000000..ec6b1ee22d --- /dev/null +++ b/libraries/AP_HAL_ChibiOS/hwdef/MatekF765-Wing-bdshot/hwdef.dat @@ -0,0 +1,14 @@ +# Bi-directional dshot version of MatekF765-Wing + +include ../MatekF765-Wing/hwdef.dat + +# undefine the pins we are going to change +undef PA0 PA1 PA2 PA3 + +# hw definition file for processing by chibios_pins.py +# for Matek F765-Wing + +PA0 TIM2_CH1 TIM2 PWM(1) GPIO(50) BIDIR +PA1 TIM2_CH2 TIM2 PWM(2) GPIO(51) +PA2 TIM5_CH3 TIM5 PWM(3) GPIO(52) BIDIR +PA3 TIM5_CH4 TIM5 PWM(4) GPIO(53)