Bläddra i källkod

Allow SWD debug on Robin Nano (#19345)

mmajoor 3 år sedan
förälder
incheckning
d93471fdad
Inget konto är kopplat till bidragsgivarens mejladress
1 ändrade filer med 2 tillägg och 2 borttagningar
  1. 2
    2
      Marlin/src/pins/stm32f1/pins_MKS_ROBIN_NANO.h

+ 2
- 2
Marlin/src/pins/stm32f1/pins_MKS_ROBIN_NANO.h Visa fil

@@ -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

Laddar…
Avbryt
Spara