EUSTM32F103 - Add LED support.
This commit is contained in:
parent
7f207c1f7f
commit
9165e11449
|
@ -19,6 +19,13 @@
|
||||||
|
|
||||||
#define TARGET_BOARD_IDENTIFIER "EUF1"
|
#define TARGET_BOARD_IDENTIFIER "EUF1"
|
||||||
|
|
||||||
|
#define LED0_GPIO GPIOB
|
||||||
|
#define LED0_PIN Pin_3 // PB3 (LED)
|
||||||
|
#define LED0_PERIPHERAL RCC_APB2Periph_GPIOB
|
||||||
|
#define LED1_GPIO GPIOB
|
||||||
|
#define LED1_PIN Pin_4 // PB4 (LED)
|
||||||
|
#define LED1_PERIPHERAL RCC_APB2Periph_GPIOB
|
||||||
|
|
||||||
#define INVERTER_PIN Pin_2 // PB2 (BOOT1) abused as inverter select GPIO
|
#define INVERTER_PIN Pin_2 // PB2 (BOOT1) abused as inverter select GPIO
|
||||||
#define INVERTER_GPIO GPIOB
|
#define INVERTER_GPIO GPIOB
|
||||||
#define INVERTER_PERIPHERAL RCC_APB2Periph_GPIOB
|
#define INVERTER_PERIPHERAL RCC_APB2Periph_GPIOB
|
||||||
|
@ -57,6 +64,8 @@
|
||||||
|
|
||||||
#define MAG
|
#define MAG
|
||||||
#define SONAR
|
#define SONAR
|
||||||
|
#define LED0
|
||||||
|
#define LED1
|
||||||
#define DISPLAY
|
#define DISPLAY
|
||||||
#define INVERTER
|
#define INVERTER
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue