X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=blobdiff_plain;f=src%2Fstm32f4-disco%2Fao_pins.h;h=e6dcea8eba1a9324632f0e8148c08f32775f7dfc;hp=bbbc306e85b7f7e223b278a750038709469529ed;hb=32463323d888d2b36d4b993d82e2522e1b236299;hpb=bb9d3d3bb1ae6223a7b910bc49ea8af5544a64d7 diff --git a/src/stm32f4-disco/ao_pins.h b/src/stm32f4-disco/ao_pins.h index bbbc306e..e6dcea8e 100644 --- a/src/stm32f4-disco/ao_pins.h +++ b/src/stm32f4-disco/ao_pins.h @@ -46,10 +46,26 @@ #define LED_0_PORT (&stm_gpioc) #define LED_0_PIN 5 -#define LED_GREEN (1 << 0) +#define LED_GREEN AO_LED_0 #define LED_1_PORT (&stm_gpioe) #define LED_1_PIN 3 -#define LED_RED (1 << 1) +#define LED_RED AO_LED_0 + +#define AO_LED_PANIC LED_RED + +/* USART */ + +#define HAS_SERIAL_6 1 +#define SERIAL_6_RX_PORT (&stm_gpiog) +#define SERIAL_6_RX_PIN 9 + +#define SERIAL_6_TX_PORT (&stm_gpiog) +#define SERIAL_6_TX_PIN 14 + +#define USE_SERIAL_6_STDIN 1 +#define DELAY_SERIAL_6_STDIN 0 +#define USE_SERIAL_6_FLOW 0 +#define USE_SERIAL_6_SW_FLOW 0 #endif /* _AO_PINS_H_ */