Skip to content

Commit b18ca4c

Browse files
mmajoorvgadreau
authored andcommitted
Allow SWD debug on Robin Nano (MarlinFirmware#19345)
1 parent 8bd8581 commit b18ca4c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Marlin/src/pins/stm32f1/pins_MKS_ROBIN_NANO.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
* MKS Robin nano (STM32F130VET6) board pin assignments
2626
*/
2727

28-
#ifndef __STM32F1__
28+
#if !defined(STM32F1) && !defined(STM32F1xx)
2929
#error "Oops! Select an STM32F1 board in 'Tools > Board.'"
3030
#elif HOTENDS > 2 || E_STEPPERS > 2
3131
#error "MKS Robin nano supports up to 2 hotends / E-steppers. Comment out this line to continue."
@@ -36,7 +36,7 @@
3636
//
3737
// Release PB4 (Y_ENABLE_PIN) from JTAG NRST role
3838
//
39-
#define DISABLE_DEBUG
39+
#define DISABLE_JTAG
4040

4141
//
4242
// EEPROM

0 commit comments

Comments
 (0)