From c1d9c2bda4dd393ea4d0f86fbd1f765e01b00976 Mon Sep 17 00:00:00 2001 From: Serhiy Date: Sun, 28 Jul 2024 21:27:49 +0300 Subject: [PATCH] Fix timers definition for FREEAXISF4 config.h. (#507) * Fix timers definition for FREEAXISF4 config.h. * Remove PA0, PA2, PA3 timers/dma assignments --------- Co-authored-by: Mark Haslinghuis --- configs/FREEAXISF4/config.h | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) diff --git a/configs/FREEAXISF4/config.h b/configs/FREEAXISF4/config.h index a0180d2f..e1cf9e93 100644 --- a/configs/FREEAXISF4/config.h +++ b/configs/FREEAXISF4/config.h @@ -67,16 +67,13 @@ #define USB_DETECT_PIN PC15 #define TIMER_PIN_MAPPING \ - TIMER_PIN_MAP( 0, PA3 , 3, -1) \ - TIMER_PIN_MAP( 1, PB4 , 2, 0) \ - TIMER_PIN_MAP( 2, PB5 , 2, 0) \ - TIMER_PIN_MAP( 3, PB6 , 2, 0) \ - TIMER_PIN_MAP( 4, PB7 , 2, 0) \ - TIMER_PIN_MAP( 5, PB3 , 1, 0) \ - TIMER_PIN_MAP( 6, PB10, 1, 0) \ - TIMER_PIN_MAP( 7, PA0 , 2, 0) \ - TIMER_PIN_MAP( 8, PA2 , 2, 0) \ - TIMER_PIN_MAP( 9, PA8 , 1, 0) + TIMER_PIN_MAP( 0, PB4 , 1, 0 ) \ + TIMER_PIN_MAP( 1, PB5 , 1, 0 ) \ + TIMER_PIN_MAP( 2, PB6 , 1, 0 ) \ + TIMER_PIN_MAP( 3, PB7 , 1, 0 ) \ + TIMER_PIN_MAP( 4, PB3 , 1, 0 ) \ + TIMER_PIN_MAP( 5, PB10, 1, 0 ) \ + TIMER_PIN_MAP( 6, PA8 , 1, 0 ) #define ADC1_DMA_OPT 1