From 302431ab4baf03cb83d17f2fa0da3b35476e13b1 Mon Sep 17 00:00:00 2001 From: John Doe Date: Fri, 11 Sep 2020 15:27:46 +0200 Subject: [PATCH 1/2] Allow SWD debugging for the Robin Nano board --- Marlin/src/pins/stm32f1/pins_MKS_ROBIN_NANO.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Marlin/src/pins/stm32f1/pins_MKS_ROBIN_NANO.h b/Marlin/src/pins/stm32f1/pins_MKS_ROBIN_NANO.h index d66338b8ad32..05276bc137fa 100644 --- a/Marlin/src/pins/stm32f1/pins_MKS_ROBIN_NANO.h +++ b/Marlin/src/pins/stm32f1/pins_MKS_ROBIN_NANO.h @@ -36,7 +36,7 @@ // // Release PB4 (Y_ENABLE_PIN) from JTAG NRST role // -#define DISABLE_DEBUG +#define DISABLE_JTAG // // EEPROM From c13be14e58491956fa545e18a0aba51e1c92c042 Mon Sep 17 00:00:00 2001 From: John Doe Date: Sat, 12 Sep 2020 11:13:44 +0200 Subject: [PATCH 2/2] Allow compiling for generic HAL STM32 library too for Robin Nano board --- Marlin/src/pins/stm32f1/pins_MKS_ROBIN_NANO.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Marlin/src/pins/stm32f1/pins_MKS_ROBIN_NANO.h b/Marlin/src/pins/stm32f1/pins_MKS_ROBIN_NANO.h index 05276bc137fa..c3e8be74e8c2 100644 --- a/Marlin/src/pins/stm32f1/pins_MKS_ROBIN_NANO.h +++ b/Marlin/src/pins/stm32f1/pins_MKS_ROBIN_NANO.h @@ -25,7 +25,7 @@ * MKS Robin nano (STM32F130VET6) board pin assignments */ -#ifndef __STM32F1__ +#if !defined(STM32F1) && !defined(STM32F1xx) #error "Oops! Select an STM32F1 board in 'Tools > Board.'" #elif HOTENDS > 2 || E_STEPPERS > 2 #error "MKS Robin nano supports up to 2 hotends / E-steppers. Comment out this line to continue."