From d140b4b6673985b310884334764ffc0d86fbc376 Mon Sep 17 00:00:00 2001 From: Manoel Brunnen Date: Sun, 11 Nov 2018 00:11:02 +0100 Subject: [PATCH] stlink: Fix the LED pinout on the Nucleo boards --- src/platforms/stlink/platform.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/platforms/stlink/platform.h b/src/platforms/stlink/platform.h index 9ca5290..9e270c4 100644 --- a/src/platforms/stlink/platform.h +++ b/src/platforms/stlink/platform.h @@ -62,8 +62,8 @@ int usbuart_debug_write(const char *buf, size_t len); #define LED_PORT GPIOA /* Use PC14 for a "dummy" uart led. So we can observere at least with scope*/ -#define LED_PORT_UART GPIOC -#define LED_UART GPIO14 +#define LED_PORT_UART GPIOA +#define LED_UART GPIO9 #define PLATFORM_HAS_TRACESWO 1 #define NUM_TRACE_PACKETS (128) /* This is an 8K buffer */