From 692f22c17f7746ffe067cd76271e6900b435de5f Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sun, 1 Apr 2018 16:01:55 +1000 Subject: [PATCH] HAL_ChibiOS: added GPIO assignments for revo-mini --- .../AP_HAL_ChibiOS/hwdef/revo-mini/hwdef.dat | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/libraries/AP_HAL_ChibiOS/hwdef/revo-mini/hwdef.dat b/libraries/AP_HAL_ChibiOS/hwdef/revo-mini/hwdef.dat index debc550613..4a5346b8be 100644 --- a/libraries/AP_HAL_ChibiOS/hwdef/revo-mini/hwdef.dat +++ b/libraries/AP_HAL_ChibiOS/hwdef/revo-mini/hwdef.dat @@ -101,14 +101,14 @@ PA4 MPU_CS CS PB3 FLASH_CS CS # PWM out pins -PB0 TIM3_CH3 TIM3 PWM(1) -PB1 TIM3_CH4 TIM3 PWM(2) -PA3 TIM2_CH4 TIM2 PWM(3) -PA2 TIM2_CH3 TIM2 PWM(4) -PA1 TIM2_CH2 TIM2 PWM(5) -PA0 TIM2_CH1 TIM2 PWM(6) -PC8 TIM8_CH3 TIM2 PWM(7) -PC9 TIM8_CH4 TIM2 PWM(8) +PB0 TIM3_CH3 TIM3 PWM(1) GPIO(50) +PB1 TIM3_CH4 TIM3 PWM(2) GPIO(51) +PA3 TIM2_CH4 TIM2 PWM(3) GPIO(52) +PA2 TIM2_CH3 TIM2 PWM(4) GPIO(53) +PA1 TIM2_CH2 TIM2 PWM(5) GPIO(54) +PA0 TIM2_CH1 TIM2 PWM(6) GPIO(55) +PC8 TIM8_CH3 TIM2 PWM(7) GPIO(56) +PC9 TIM8_CH4 TIM2 PWM(8) GPIO(57) PB7 DRDY_HMC5883 INPUT PULLUP