aboutsummaryrefslogtreecommitdiff
path: root/src/platforms/stlink
diff options
context:
space:
mode:
authorPiotr Esden-Tempski2013-01-28 12:15:50 -0800
committerPiotr Esden-Tempski2013-01-28 12:15:50 -0800
commit9819f9d5b3abf89ab932e19e965a3125471cdc34 (patch)
tree5dab5342bade5b95b9fdca025e4ffcba76b1403e /src/platforms/stlink
parent0a91fc3b30c3f878c85af25bc602aaf868b291e5 (diff)
Corrected the led pin for F3 and F4 discovery boards. Needs proper fixing so that it works on all platforms in the future.
Diffstat (limited to 'src/platforms/stlink')
-rw-r--r--src/platforms/stlink/platform.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/platforms/stlink/platform.h b/src/platforms/stlink/platform.h
index 09bf484..eb5f186 100644
--- a/src/platforms/stlink/platform.h
+++ b/src/platforms/stlink/platform.h
@@ -75,7 +75,10 @@ extern usbd_device *usbdev;
#define SWCLK_PIN TCK_PIN
#define LED_PORT GPIOA
-#define LED_IDLE_RUN GPIO8
+/* The value line discovery board stlink has it's led on PA8
+ * All other stlinks have the led connected to PA9 instead and MCO to PA8
+ */
+#define LED_IDLE_RUN GPIO9
#define DEBUG(...)