1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/boards/common/stm32/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
..
cfg_i2c1_pb6_pb7.h boards/stm32: adapt I2C configuration where needed 2022-03-23 10:10:08 +01:00
cfg_i2c1_pb8_pb9.h boards/stm32: adapt I2C configuration where needed 2022-03-23 10:10:08 +01:00
cfg_rtt_default.h cpu/stm32_common: make RTT_FREQUENCY configurable 2020-05-05 14:36:31 +02:00
cfg_timer_tim2.h boards: add nucleo-wl55jc 2021-04-20 21:04:29 +02:00
cfg_timer_tim5.h boards/b-u585i-iot02a: add initial basic support 2021-12-23 11:04:42 +01:00
cfg_usb_otg_fs.h cpu/stm32/periph: Use uintptr_t for periph addr 2021-12-03 10:12:32 +01:00
cfg_usb_otg_hs_fs.h cpu/stm32/periph: Use uintptr_t for periph addr 2021-12-03 10:12:32 +01:00
stm32_leds.h boards/common/stm32: clean up LED definitions 2022-08-08 23:35:06 +02:00