Ver código fonte

Allow SWD debug on Robin Nano (#19345)

mmajoor 3 anos atrás
pai
commit
d93471fdad
Nenhuma conta vinculada ao e-mail do autor do commit
1 arquivos alterados com 2 adições e 2 exclusões
  1. 2
    2
      Marlin/src/pins/stm32f1/pins_MKS_ROBIN_NANO.h

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

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

Carregando…
Cancelar
Salvar