Corrected the led pin for F3 and F4 discovery boards. Needs proper fixing so that it works on all platforms in the future.

This commit is contained in:
Piotr Esden-Tempski 2013-01-28 12:15:50 -08:00
parent 0a91fc3b30
commit 9819f9d5b3
1 changed files with 4 additions and 1 deletions

View File

@ -75,7 +75,10 @@ extern usbd_device *usbdev;
#define SWCLK_PIN TCK_PIN #define SWCLK_PIN TCK_PIN
#define LED_PORT GPIOA #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(...) #define DEBUG(...)