Skip to content

Commit 2e54594

Browse files
Added #define LED_BUILTIN to Maple mini and generic_STM32F103C
1 parent ed82be4 commit 2e54594

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

STM32F1/variants/generic_stm32f103c/variant.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,6 @@ static const uint8_t MOSI = BOARD_SPI1_MOSI_PIN;
1717
static const uint8_t MISO = BOARD_SPI1_MISO_PIN;
1818
static const uint8_t SCK = BOARD_SPI1_SCK_PIN;
1919

20+
#define LED_BUILTIN PC13
21+
2022
#endif /* _VARIANT_ARDUINO_STM32_ */

STM32F1/variants/maple_mini/variant.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,6 @@ static const uint8_t MOSI = BOARD_SPI1_MOSI_PIN;
1717
static const uint8_t MISO = BOARD_SPI1_MISO_PIN;
1818
static const uint8_t SCK = BOARD_SPI1_SCK_PIN;
1919

20+
#define LED_BUILTIN PB1
21+
2022
#endif /* _VARIANT_ARDUINO_STM32_ */

0 commit comments

Comments
 (0)