mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
1fd9913293
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. |
||
---|---|---|
.. | ||
cfg_i2c1_pb6_pb7.h | ||
cfg_i2c1_pb8_pb9.h | ||
cfg_rtt_default.h | ||
cfg_timer_tim2.h | ||
cfg_timer_tim5.h | ||
cfg_usb_otg_fs.h | ||
cfg_usb_otg_hs_fs.h | ||
stm32_leds.h |