Marian Buschsieweke
1fd9913293
boards/common/stm32: clean up LED definitions
...
Let boards only define the port and pin number of each LEDs. The common
definitions in `stm32_leds.h` will provide `LED<x>_ON`, `LED<x>_OFF`,
`LED<x>_TOGGLE`, `LED<x>_PIN`, `LED<x>_MASK` and `LED<x>_PORT`.
In addition to code de-duplication, this also makes it easier to use
LEDs in GPIO LL, which can be beneficial for super low overhead
debugging output - e.g. when a bug is timing sensitive and `DEBUG()`
would spent to much time for stdio to reproduce a bug.
2022-08-08 23:35:06 +02:00
Benjamin Valentin
5d111e71aa
boards: drop board_init() from board.h
2022-02-25 15:08:58 +01:00
Koen Zandberg
297724a381
stm32l476g-disco: add usbdev feature
2021-12-01 10:15:19 +01:00
Alexandre Abadie
39e06babf5
boards/stm32: use generic clk_conf.h header
2020-10-27 08:44:56 +01:00
Alexandre Abadie
9dd20c0ccb
cpu: boards: stm32l4/wb: use IS_USED for clock where possible
2020-09-08 18:42:42 +02:00
Alexandre Abadie
79e6d9df85
boards/stm32l4*: adapt to new clock configuration
2020-09-08 18:42:42 +02:00
Alexandre Abadie
95057a8aef
boards/stm32l4: rename common clock config header
2020-09-08 18:42:41 +02:00
Alexandre Abadie
9cc338d29e
boards/nucleo-l4*: use shared clock configuration
2020-04-07 17:42:56 +02:00
Benjamin Valentin
8af04cd939
boards: make use of ARRAY_SIZE macro
2019-08-06 19:43:54 +02:00
Alexandre Abadie
7853ca0108
boards/stm32*: remove useless RTC_NUMOF defines
2019-08-05 11:08:53 +02:00
Alexandre Abadie
5c79e1456a
boards/stm32l476rg: add RTT and RTC features
2019-05-21 09:50:10 +02:00
Alexandre Abadie
973a6a4c93
boards/stm32: remove unnecessary ADC defines in board config
2019-01-02 09:15:22 +01:00
Alexandre Abadie
58b85b256b
boards: update UART conf for STM32 based boards
2018-12-13 12:39:00 +01:00
Alexandre Abadie
9b5d282f61
boards/stm32l46zg-disco: initial support
2018-07-04 09:58:55 +02:00