1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-18 12:52:44 +01:00
RIOT/boards/common/stm32
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
..
dist boards/b-u585i-iot02a: add initial basic support 2021-12-23 11:04:42 +01:00
include boards/common/stm32: clean up LED definitions 2022-08-08 23:35:06 +02:00
doc.txt boards: add path for STM32-shared config snippets 2018-05-24 19:00:42 +02:00
Kconfig boards/stm32g4: add clock configuration via Kconfig 2020-08-25 12:57:03 +02:00