File tree 3 files changed +29
-2
lines changed
3 files changed +29
-2
lines changed Original file line number Diff line number Diff line change 58
58
* Check for common serial pin conflicts
59
59
*/
60
60
#define _CHECK_SERIAL_PIN (N ) (( \
61
- BTN_EN1 == N || DOGLCD_CS == N || HEATER_BED_PIN == N || FAN0_PIN == N || \
62
- SDIO_D2_PIN == N || SDIO_D3_PIN == N || SDIO_CK_PIN == N || SDIO_CMD_PIN == N \
61
+ BTN_EN1 == N || BTN_EN2 == N ||DOGLCD_CS == N || HEATER_BED_PIN == N || FAN0_PIN == N || \
62
+ SDIO_D2_PIN == N || SDIO_D3_PIN == N || SDIO_CK_PIN == N || SDIO_CMD_PIN == N || \
63
+ Y_STEP_PIN == N || Y_ENABLE_PIN == N || E0_ENABLE_PIN == N || POWER_LOSS_PIN == N \
63
64
))
64
65
#define CHECK_SERIAL_PIN (T ,N ) defined(UART##N##_##T##_PIN) && _CHECK_SERIAL_PIN(UART##N##_##T##_PIN)
65
66
#if SERIAL_IN_USE (1 )
Original file line number Diff line number Diff line change 107
107
#define E0_SLAVE_ADDRESS 3
108
108
#endif
109
109
#endif
110
+
111
+ // Pins for documentation and sanity checks only.
112
+ // Changing these will not change the pin they are on.
113
+
114
+ // Hardware UART pins
115
+ #define UART1_TX_PIN PA9 // default usage LCD connector
116
+ #define UART1_RX_PIN PA10 // default usage LCD connector
117
+ #define UART2_TX_PIN PA2 // default usage TFT connector
118
+ #define UART2_RX_PIN PA3 // default usage TFT connector
119
+ #define UART3_TX_PIN PB10 // default usage Y_STEP_PIN
120
+ #define UART3_RX_PIN PB11 // default usage Y_ENABLE_PIN
121
+ #define UART4_TX_PIN PC10 // default usage TMC UART
122
+ #define UART4_RX_PIN PC11 // default usage TMC UART
123
+ #define UART5_TX_PIN PC12 // default usage POWER_LOSS_PIN
124
+ #define UART5_RX_PIN PD2 // default usage E0_ENABLE_PIN
Original file line number Diff line number Diff line change 461
461
#ifndef BOARD_NEOPIXEL_PIN
462
462
#define BOARD_NEOPIXEL_PIN PA8 // LED driving pin
463
463
#endif
464
+
465
+ // Pins for documentation and sanity checks only.
466
+ // Changing these will not change the pin they are on.
467
+
468
+ // Hardware UART pins
469
+ #define UART1_TX_PIN PA9 // default usage LCD connector
470
+ #define UART1_RX_PIN PA10 // default usage LCD connector
471
+ #define UART2_TX_PIN PA2 // default usage TFT connector
472
+ #define UART2_RX_PIN PA3 // default usage TFT connector
473
+ #define UART4_TX_PIN PC10 // default usage TMC UART
474
+ #define UART4_RX_PIN PC11 // default usage TMC UART
You can’t perform that action at this time.
0 commit comments