Allow SWD debug on Robin Nano (#19345)

This commit is contained in:
mmajoor 2020-09-13 06:33:55 +02:00 committed by Scott Lahteine
parent 196a72b29e
commit a941faccb0

View File

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