Skip to content

Commit

Permalink
Fix Taker H743 DMA assignments
Browse files Browse the repository at this point in the history
ADC was not working due to missing DMA assignments. Tested and confirmed working with this config.
  • Loading branch information
ot0tot authored Jan 9, 2025
1 parent abeb36f commit 1a267de
Showing 1 changed file with 13 additions and 16 deletions.
29 changes: 13 additions & 16 deletions configs/GEPRC_TAKER_H743/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -95,23 +95,20 @@

#define TIMER_PIN_MAPPING \
TIMER_PIN_MAP( 0, LED_STRIP_PIN, 1, 0) \
TIMER_PIN_MAP( 1, MOTOR1_PIN, 2, 0) \
TIMER_PIN_MAP( 2, MOTOR2_PIN, 2, 0) \
TIMER_PIN_MAP( 3, MOTOR3_PIN, 1, 0) \
TIMER_PIN_MAP( 4, MOTOR4_PIN, 1, 0) \
TIMER_PIN_MAP( 5, MOTOR5_PIN, 1, 0) \
TIMER_PIN_MAP( 6, MOTOR6_PIN, 1, 0) \
TIMER_PIN_MAP( 7, MOTOR7_PIN, 2, 0) \
TIMER_PIN_MAP( 8, MOTOR8_PIN, 2, 0)
TIMER_PIN_MAP( 1, MOTOR1_PIN, 2, 1) \
TIMER_PIN_MAP( 2, MOTOR2_PIN, 2, 2) \
TIMER_PIN_MAP( 3, MOTOR3_PIN, 1, 3) \
TIMER_PIN_MAP( 4, MOTOR4_PIN, 1, 4) \
TIMER_PIN_MAP( 5, MOTOR5_PIN, 1, 5) \
TIMER_PIN_MAP( 6, MOTOR6_PIN, 1, 6) \
TIMER_PIN_MAP( 7, MOTOR7_PIN, 2, 7) \
TIMER_PIN_MAP( 8, MOTOR8_PIN, 2, 8)

#define ADC1_DMA_OPT 0
#define ADC2_DMA_OPT 0
#define ADC3_DMA_OPT 0
#define TIMUP1_DMA_OPT 0
#define TIMUP3_DMA_OPT 0
#define TIMUP4_DMA_OPT 0
#define TIMUP5_DMA_OPT 0
#define TIMUP8_DMA_OPT 0
#define ADC1_DMA_OPT 9
#define ADC3_DMA_OPT 10
#define TIMUP3_DMA_OPT 11
#define TIMUP4_DMA_OPT 12
#define TIMUP8_DMA_OPT 13

#define MSP_DISPLAYPORT_UART SERIAL_PORT_USART1
#define SERIALRX_UART SERIAL_PORT_USART2
Expand Down

0 comments on commit 1a267de

Please sign in to comment.