Skip to content

Commit

Permalink
at32: re-check all serial pins and add swap/af defines as necessary
Browse files Browse the repository at this point in the history
  • Loading branch information
bkleiner committed Oct 1, 2024
1 parent 27f04b0 commit 3e22dc9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions src/main/target/NEUTRONRCF435MINI/target.h
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,9 @@

#define USE_UART2
#define UART2_RX_PIN PB0
#define UART2_RX_AF 6
#define UART2_TX_PIN PA2
#define UART2_TX_AF 7

#define USE_UART3
#define USE_UART3_PIN_SWAP
Expand Down
3 changes: 2 additions & 1 deletion src/main/target/TBS_LUCID_FC/target.h
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,11 @@

#define USE_UART2
#define UART2_AF 6
#define UART2_TX_PIN NONE
#define UART2_TX_PIN PB0
#define UART2_RX_PIN PB0

#define USE_UART3
#define USE_UART3_PIN_SWAP
#define UART3_TX_PIN PB11
#define UART3_RX_PIN PB10

Expand Down

0 comments on commit 3e22dc9

Please sign in to comment.