diff --git a/Marlin/src/pins/pins.h b/Marlin/src/pins/pins.h index 3a380def74f56..53d8321931100 100644 --- a/Marlin/src/pins/pins.h +++ b/Marlin/src/pins/pins.h @@ -574,9 +574,9 @@ #elif MB(CHITU3D_V6) #include "stm32f1/pins_CHITU3D_V6.h" // STM32F1 env:chitu_f103 #elif MB(CREALITY_V4) - #include "stm32f1/pins_CREALITY_V4.h" // STM32F1 env:STM32F103RET6_creality + #include "stm32f1/pins_CREALITY_V4.h" // STM32F1 env:STM32F103RET6_creality env:STM32F103RET6_creality_debug #elif MB(CREALITY_V427) - #include "stm32f1/pins_CREALITY_V427.h" // STM32F1 env:STM32F103RET6_creality + #include "stm32f1/pins_CREALITY_V427.h" // STM32F1 env:STM32F103RET6_creality env:STM32F103RET6_creality_debug #elif MB(TRIGORILLA_PRO) #include "stm32f1/pins_TRIGORILLA_PRO.h" // STM32F1 env:trigorilla_pro #elif MB(FLY_MINI) diff --git a/platformio.ini b/platformio.ini index ac92c7766df9e..50ca6076fa026 100644 --- a/platformio.ini +++ b/platformio.ini @@ -1136,6 +1136,12 @@ debug_tool = jlink upload_protocol = jlink monitor_speed = 115200 +[env:STM32F103RET6_creality_debug] +platform = ${env:STM32F103RET6_creality.platform} +extends = env:STM32F103RET6_creality +debug_tool = stlink +upload_protocol = dfu + # # FLSUN QQ (STM32F103VET6) #