From 4ba13912b736d99f83e444f35d55090841371f8c Mon Sep 17 00:00:00 2001 From: Scott Lahteine Date: Thu, 15 Jan 2026 18:31:26 -0600 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A8=20Fix=20build=20env=20chitu=5Ff103?= =?UTF-8?q?=5Fmaple?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ini/stm32f1-maple.ini | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/ini/stm32f1-maple.ini b/ini/stm32f1-maple.ini index f6c8b8da56..ee0da386a3 100644 --- a/ini/stm32f1-maple.ini +++ b/ini/stm32f1-maple.ini @@ -342,14 +342,15 @@ lib_ignore = ${STM32F1_maple.lib_ignore} # Chitu boards like Tronxy X5s (STM32F103ZET6) # [env:chitu_f103_maple] -extends = STM32F1_maple -board = marlin_maple_CHITU_F103 -extra_scripts = ${STM32F1_maple.extra_scripts} - pre:buildroot/share/PlatformIO/scripts/STM32F1_create_variant.py - buildroot/share/PlatformIO/scripts/chitu_crypt.py -build_flags = ${STM32F1_maple.build_flags} -DSTM32F1xx -DSTM32_XL_DENSITY -DSTM32_FLASH_SIZE=512 -build_unflags = ${STM32F1_maple.build_unflags} - -DCONFIG_MAPLE_MINI_NO_DISABLE_DEBUG= -DERROR_LED_PORT=GPIOE -DERROR_LED_PIN=6 +extends = STM32F1_maple +board = marlin_maple_CHITU_F103 +extra_scripts = ${STM32F1_maple.extra_scripts} + pre:buildroot/share/PlatformIO/scripts/STM32F1_create_variant.py + buildroot/share/PlatformIO/scripts/chitu_crypt.py +build_flags = ${STM32F1_maple.build_flags} -DSTM32F1xx -DSTM32_XL_DENSITY -DSTM32_FLASH_SIZE=512 +build_unflags = ${STM32F1_maple.build_unflags} + -DCONFIG_MAPLE_MINI_NO_DISABLE_DEBUG= -DERROR_LED_PORT=GPIOE -DERROR_LED_PIN=6 +board_build.crypt_chitu = update.cbd # # Some Chitu V5 boards have a problem with GPIO init.