Skip to content

Commit

Permalink
Debug environment
Browse files Browse the repository at this point in the history
  • Loading branch information
thinkyhead committed Oct 23, 2020
1 parent 157ebcb commit acd3ce9
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Marlin/src/pins/pins.h
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
6 changes: 6 additions & 0 deletions platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -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)
#
Expand Down

0 comments on commit acd3ce9

Please sign in to comment.