1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/boards/b-l072z-lrwan1
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
..
include boards/common/stm32: clean up LED definitions 2022-08-08 23:35:06 +02:00
board.c boards: drop LED init 2022-02-18 14:35:43 +01:00
doc.txt doc: add wiki documentation to Doxygen files 2018-08-01 15:24:54 +02:00
Kconfig boards: drop LED init 2022-02-18 14:35:43 +01:00
Makefile boards/b-l072z-lrwan1: add basic support 2017-06-21 15:08:41 +02:00
Makefile.dep boards: drop LED init 2022-02-18 14:35:43 +01:00
Makefile.features boards/stm32*: adapt for new stm32 cpu organization 2020-05-20 13:39:10 +02:00
Makefile.include boards/stm32: set openocd as only supported programmer 2021-02-24 13:29:16 +01:00