1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
Commit Graph

20 Commits

Author SHA1 Message Date
krzysztof-cabaj
72f8a8f268 boards/stm32l476g-disco: add PWM config and doxygen doc 2024-08-05 17:48:20 +02:00
krzysztof-cabaj
b2ef0c67d7 boards/stm32l476g-disco: add initial PWM config 2024-08-05 16:07:04 +02:00
Marian Buschsieweke
97b91b4f8f
boards/stm32: use GPIO LL for LEDs
This fixes a race in `LED<NUM>_TOGGLE`, which is a read-copy-write
operation. Any access to a GPIO pin on the same GPIO port that
happens concurrently could result in data corruption. Using the
GPIO LL API, which is thread-safe, fixes the issue.

Note: The used GPIO LL functions will work even in when the GPIO LL
      module is not used.
2024-08-02 09:55:24 +02:00
krzysztof-cabaj
c1a33faeb5 boards/stm32l476g-disco: add doxygen doc to ADC config 2024-07-19 12:29:34 +02:00
krzysztof-cabaj
098a34452a boards/stm32l476g-disco: add ADC support 2024-07-19 11:50:39 +02:00
krzysztof-cabaj
0082755eaa boards/stm32l476g-disco: add board doc page 2024-06-07 12:17:51 +02:00
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
Benjamin Valentin
5d111e71aa boards: drop board_init() from board.h 2022-02-25 15:08:58 +01:00
297724a381
stm32l476g-disco: add usbdev feature 2021-12-01 10:15:19 +01:00
39e06babf5
boards/stm32: use generic clk_conf.h header 2020-10-27 08:44:56 +01:00
9dd20c0ccb
cpu: boards: stm32l4/wb: use IS_USED for clock where possible 2020-09-08 18:42:42 +02:00
79e6d9df85
boards/stm32l4*: adapt to new clock configuration 2020-09-08 18:42:42 +02:00
95057a8aef
boards/stm32l4: rename common clock config header 2020-09-08 18:42:41 +02:00
9cc338d29e
boards/nucleo-l4*: use shared clock configuration 2020-04-07 17:42:56 +02:00
Benjamin Valentin
8af04cd939 boards: make use of ARRAY_SIZE macro 2019-08-06 19:43:54 +02:00
7853ca0108
boards/stm32*: remove useless RTC_NUMOF defines 2019-08-05 11:08:53 +02:00
5c79e1456a
boards/stm32l476rg: add RTT and RTC features 2019-05-21 09:50:10 +02:00
973a6a4c93 boards/stm32: remove unnecessary ADC defines in board config 2019-01-02 09:15:22 +01:00
58b85b256b boards: update UART conf for STM32 based boards 2018-12-13 12:39:00 +01:00
9b5d282f61 boards/stm32l46zg-disco: initial support 2018-07-04 09:58:55 +02:00