Skip to content

Commit

Permalink
Remove RX_PPM from other F7 boards too
Browse files Browse the repository at this point in the history
  • Loading branch information
haslinghuis committed Nov 15, 2024
1 parent 018ad01 commit a9a75b4
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 20 deletions.
17 changes: 8 additions & 9 deletions configs/KAKUTEF7MINI/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -82,15 +82,14 @@
#define USB_DETECT_PIN PA8

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


#define ADC1_DMA_OPT 1
Expand Down
3 changes: 1 addition & 2 deletions configs/KAKUTEF7MINIV3/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,7 @@
TIMER_PIN_MAP( 4, MOTOR5_PIN , 1, 0) \
TIMER_PIN_MAP( 5, MOTOR6_PIN , 1, 0) \
TIMER_PIN_MAP( 6, CAMERA_CONTROL_PIN, 1, 0) \
TIMER_PIN_MAP( 7, LED_STRIP_PIN , 1, 2) \
TIMER_PIN_MAP( 8, RX_PPM_PIN , 3, -1)
TIMER_PIN_MAP( 7, LED_STRIP_PIN , 1, 2)

#define ADC1_DMA_OPT 1

Expand Down
17 changes: 8 additions & 9 deletions configs/KAKUTEF7V2/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -82,15 +82,14 @@
#define USB_DETECT_PIN PA8

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

#define SPI1_TX_DMA_OPT 1
#define ADC1_DMA_OPT 1
Expand Down

0 comments on commit a9a75b4

Please sign in to comment.