From e400ef346a317fe36dd98b821c3b04098d8b7a3c Mon Sep 17 00:00:00 2001
From: Allen Bauer <kylix.rd@gmail.com>
Date: Tue, 25 May 2021 17:08:10 -0700
Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Fix=20BTT002=20variant=20MMU2=20?=
 =?UTF-8?q?serial=20pins=20=F0=9F=A7=A9=20(#21980)?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 .../PlatformIO/variants/MARLIN_BIGTREE_BTT002/variant.h      | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/buildroot/share/PlatformIO/variants/MARLIN_BIGTREE_BTT002/variant.h b/buildroot/share/PlatformIO/variants/MARLIN_BIGTREE_BTT002/variant.h
index ecc319f47ce..59a7f24527b 100644
--- a/buildroot/share/PlatformIO/variants/MARLIN_BIGTREE_BTT002/variant.h
+++ b/buildroot/share/PlatformIO/variants/MARLIN_BIGTREE_BTT002/variant.h
@@ -264,6 +264,11 @@ extern "C" {
 #define PIN_SERIAL_RX           PA10
 #define PIN_SERIAL_TX           PA9
 
+// Serial Pins for the MMU2
+#define ENABLE_HWSERIAL4
+#define PIN_SERIAL4_RX          PC11
+#define PIN_SERIAL4_TX          PC10
+
 #ifdef __cplusplus
 } // extern "C"
 #endif