From b180cc94059c0f2f43e363c5a94f6c623cb1aea5 Mon Sep 17 00:00:00 2001 From: rondlh <77279634+rondlh@users.noreply.github.com> Date: Mon, 22 Sep 2025 15:51:09 +0800 Subject: [PATCH 1/2] Add USART6 pins to MKS TFT35 V1.0 variant so it doesn't fall back to the incorrect defaults Add USART6 pins to MKS TFT35 V1.0 variant so it doesn't fall back to the incorrect defaults --- TFT/src/User/Variants/pin_MKS_TFT35_V1_0.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/TFT/src/User/Variants/pin_MKS_TFT35_V1_0.h b/TFT/src/User/Variants/pin_MKS_TFT35_V1_0.h index a6825b9d7..bd602a68b 100644 --- a/TFT/src/User/Variants/pin_MKS_TFT35_V1_0.h +++ b/TFT/src/User/Variants/pin_MKS_TFT35_V1_0.h @@ -75,6 +75,10 @@ #define LCD_DATA_16BIT 1 #endif +// USART6 pins for STM32F407VET6 +#define USART6_TX_PIN PC6 +#define USART6_RX_PIN PC7 + // SERIAL_PORT: communicating with host (Marlin, RRF etc.) // SERIAL_PORT_X: communicating with other controllers (OctoPrint, ESP3D, other UART Touch Screen etc.) #ifndef SERIAL_PORT From 87ed1e8bcf2c7bf26c67317f209e63161f09bb19 Mon Sep 17 00:00:00 2001 From: rondlh <77279634+rondlh@users.noreply.github.com> Date: Thu, 25 Sep 2025 16:25:49 +0800 Subject: [PATCH 2/2] Correct small typo "not" --"no" Correct small typo --- TFT/src/User/Variants/pin_MKS_TFT35_V1_0.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TFT/src/User/Variants/pin_MKS_TFT35_V1_0.h b/TFT/src/User/Variants/pin_MKS_TFT35_V1_0.h index bd602a68b..6cf3c80b5 100644 --- a/TFT/src/User/Variants/pin_MKS_TFT35_V1_0.h +++ b/TFT/src/User/Variants/pin_MKS_TFT35_V1_0.h @@ -146,7 +146,7 @@ // LCD Encoder pins // It can be added using available pins (PB0, PB1, PB4, PB5). Switch encoder/button to ground // Make sure to remap FIL_RUNOUT_PIN and PS_ON_PIN to unused pins to avoid conflicts (E.e. PE0, PE1, PE4, PE5) -// Mostly usefull for Marlin mode, which is not available because there are not EXP1/2 connectors on the display +// Mostly usefull for Marlin mode, which is not available because there are no EXP1/2 connectors on the display #ifndef LCD_ENCA_PIN #define LCD_ENCA_PIN PB0 #define LCD_ENCB_PIN PB1