From 951b8be3a111f7d84b6d949f37d7c45c0bd69916 Mon Sep 17 00:00:00 2001 From: Scott Lahteine Date: Tue, 3 Jun 2025 18:47:44 -0500 Subject: [PATCH] =?UTF-8?q?=F0=9F=A9=B9=20Update=20Creality=20CR4NS?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Followup to #27003 --- Marlin/src/pins/stm32f1/pins_CREALITY_CR4NS.h | 22 +++++++++---------- 1 file changed, 10 insertions(+), 12 deletions(-) diff --git a/Marlin/src/pins/stm32f1/pins_CREALITY_CR4NS.h b/Marlin/src/pins/stm32f1/pins_CREALITY_CR4NS.h index 7d19aec51d..ce019e0039 100644 --- a/Marlin/src/pins/stm32f1/pins_CREALITY_CR4NS.h +++ b/Marlin/src/pins/stm32f1/pins_CREALITY_CR4NS.h @@ -62,6 +62,8 @@ // // Limit Switches // +#define X_DIAG_PIN PB10 +#define Y_DIAG_PIN PB11 #ifndef Z_STOP_PIN #define Z_STOP_PIN PC14 #endif @@ -79,23 +81,19 @@ #define HEATER_BED_PIN PB2 // HOT BED #define FAN1_PIN PC1 // extruder fan -// -// Steppers -// + #if HAS_TMC_UART - - // Reduce baud rate to improve software serial reliability - #define TMC_BAUD_RATE 19200 - // Software serial #define X_SERIAL_TX_PIN PB12 - #define X_DIAG_PIN PB10 - #define Y_SERIAL_TX_PIN PB13 - #define Y_DIAG_PIN PB11 - #define Z_SERIAL_TX_PIN PB14 -#endif // HAS_TMC_UART + #define E0_SERIAL_TX_PIN PB15 + + // Reduce baud rate to improve software serial reliability + #ifndef TMC_BAUD_RATE + #define TMC_BAUD_RATE 19200 + #endif +#endif // // SD Card