Browse Source

HAL_ChibiOS: add MatekF405-STD S7 PWM output

MatekF405-STD board has a pad for S7 PWM output from pin PB8 missing in hwdef
apm_2208
iainguilliard 4 years ago committed by Andrew Tridgell
parent
commit
ea0b6dfcb2
  1. 10
      libraries/AP_HAL_ChibiOS/hwdef/MatekF405-STD/hwdef.dat

10
libraries/AP_HAL_ChibiOS/hwdef/MatekF405-STD/hwdef.dat

@ -5,3 +5,13 @@ include ../MatekF405/hwdef.dat @@ -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

Loading…
Cancel
Save