1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/boards/b-l475e-iot01a/include
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
..
board.h boards/common/stm32: clean up LED definitions 2022-08-08 23:35:06 +02:00
gpio_params.h boards: drop LED init 2022-02-18 14:35:43 +01:00
periph_conf.h boards/b-l4753-iot0a1: Add SPI2 and SPI3 buses 2022-03-30 10:52:53 +02:00