HAL_ChibiOS: add MatekF405-STD S7 PWM output

MatekF405-STD board has a pad for S7 PWM output from pin PB8 missing in hwdef
This commit is contained in:
iainguilliard 2021-08-02 18:28:17 +10:00 committed by Andrew Tridgell
parent e486671bb2
commit ea0b6dfcb2

View File

@ -5,3 +5,13 @@ include ../MatekF405/hwdef.dat
# different IMU orientation
undef IMU
IMU Invensense SPI:mpu6000 ROTATION_YAW_90
# Use TIM5 for ST clock
undef STM32_ST_USE_TIMER
undef CH_CFG_ST_RESOLUTION
define STM32_ST_USE_TIMER 5
define CH_CFG_ST_RESOLUTION 32
# Add S7 Pad for MatekF405 STD
PB8 TIM4_CH3 TIM4 PWM(7) GPIO(56) NODMA