From c4341a4e351978a228272e583dd72f999eca643c Mon Sep 17 00:00:00 2001
From: ellensp <530024+ellensp@users.noreply.github.com>
Date: Tue, 8 Feb 2022 09:49:26 +1300
Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=A8=20Cleaner=20errors=20for=20renamed?=
 =?UTF-8?q?=20envs=20(#23690)?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 ini/renamed.ini | 25 +++++++++++++++++++++++++
 platformio.ini  |  1 +
 2 files changed, 26 insertions(+)
 create mode 100644 ini/renamed.ini

diff --git a/ini/renamed.ini b/ini/renamed.ini
new file mode 100644
index 00000000000..bc1e438d60c
--- /dev/null
+++ b/ini/renamed.ini
@@ -0,0 +1,25 @@
+#
+# Marlin Firmware
+# PlatformIO Configuration File
+#
+
+#################################
+#                               #
+#     Renamed Environments      #
+#                               #
+#################################
+
+#
+# List of environment names that are no longer used
+#
+
+[env:STM32F103RET6_creality_maple]
+extends = env:STM32F103RE_maple
+
+[env:STM32F103RET6_creality]
+extends = STM32F103Rx_creality
+board   = genericSTM32F103RE
+
+[env:STM32F103RET6_creality_xfer]
+extends = STM32F103Rx_creality_xfer
+board   = genericSTM32F103RE
diff --git a/platformio.ini b/platformio.ini
index e1db73a4bd1..43c7e2be6bf 100644
--- a/platformio.ini
+++ b/platformio.ini
@@ -32,6 +32,7 @@ extra_configs =
     ini/stm32h7.ini
     ini/stm32g0.ini
     ini/teensy.ini
+    ini/renamed.ini
 
 #
 # The 'common' section applies to most Marlin builds.