From df62d7739ab8866b3ff3e6edcd6b26daa9854c42 Mon Sep 17 00:00:00 2001 From: "Alexander D. Kanevskiy" Date: Sat, 22 May 2021 17:21:35 +0300 Subject: [PATCH] Enable M575 and 250000 baud rate on SKR boards --- Marlin/Configuration.h | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/Marlin/Configuration.h b/Marlin/Configuration.h index b0cdc8a8db97..7e329fa22a0e 100644 --- a/Marlin/Configuration.h +++ b/Marlin/Configuration.h @@ -146,8 +146,15 @@ * * :[2400, 9600, 19200, 38400, 57600, 115200, 250000, 500000, 1000000] */ -#define BAUDRATE 250000 -//#define BAUD_RATE_GCODE // Enable G-code M575 to set the baud rate +#if ANY(KAD_SKR_MINI, KAD_SKR_E3_TURBO) + #define BAUDRATE 250000 + // KAD: M575 not yet available on LPC + #if ENABLED(KAD_SKR_MINI) + #define BAUD_RATE_GCODE // Enable G-code M575 to set the baud rate + #endif +#else + #define BAUDRATE 115200 +#endif /** * Select a secondary serial port on the board to use for communication with the host.