Browse Source

Allow SWD debug on Robin Nano (#19345)

mmajoor 4 years ago
parent
commit
d93471fdad
No account linked to committer's email address
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      Marlin/src/pins/stm32f1/pins_MKS_ROBIN_NANO.h

+ 2
- 2
Marlin/src/pins/stm32f1/pins_MKS_ROBIN_NANO.h View File

@@ -25,7 +25,7 @@
25 25
  * MKS Robin nano (STM32F130VET6) board pin assignments
26 26
  */
27 27
 
28
-#ifndef __STM32F1__
28
+#if !defined(STM32F1) && !defined(STM32F1xx)
29 29
   #error "Oops! Select an STM32F1 board in 'Tools > Board.'"
30 30
 #elif HOTENDS > 2 || E_STEPPERS > 2
31 31
   #error "MKS Robin nano supports up to 2 hotends / E-steppers. Comment out this line to continue."
@@ -36,7 +36,7 @@
36 36
 //
37 37
 // Release PB4 (Y_ENABLE_PIN) from JTAG NRST role
38 38
 //
39
-#define DISABLE_DEBUG
39
+#define DISABLE_JTAG
40 40
 
41 41
 //
42 42
 // EEPROM

Loading…
Cancel
Save