Explorar el Código

Allow SWD debug on Robin Nano (#19345)

mmajoor hace 3 años
padre
commit
d93471fdad
No account linked to committer's email address
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2
    2
      Marlin/src/pins/stm32f1/pins_MKS_ROBIN_NANO.h

+ 2
- 2
Marlin/src/pins/stm32f1/pins_MKS_ROBIN_NANO.h Ver fichero

@@ -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…
Cancelar
Guardar