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
MrKevinWeiss
e0fdc3c16c
*Kconfig*: Modify Kconfig to remove dep model
2024-03-27 10:28:12 +01:00
Gunar Schorcht
dcecc411d3
boards/stm32f769i-disco: add FMC with SDRAM support
2023-07-28 14:50:06 +02:00
MrKevinWeiss
464f57b4a3
boards: Remove PLL overrides in kconfig
...
Since we know the HSE speed, manual overrides are not needed anymore
2022-11-03 13:38:09 +01:00
MrKevinWeiss
17cce015d4
treewide/stm32: Make CLOCK_HS* configurable
2022-11-03 11:37:28 +01:00
Gunar Schorcht
990feeec39
boards: enable feature tinyusb_device for STM32 boards
2022-09-30 19:05: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
Francisco Molina
464d941a3e
boards: drop empty custom board_init & empty board.c
2022-02-22 18:27:37 +01:00
Benjamin Valentin
468ea89953
boards: drop LED init
...
This is handled by periph_init_leds now
2022-02-18 14:35:43 +01:00
MrKevinWeiss
deda2cfb97
boards: Fix stm32 based boards kconfig models
2021-12-15 09:31:45 +01:00
Leandro Lanzieri
df7ce1c647
makefiles/kconfig: use two lists for boards and CPUs default configs
...
This introduces KCONFIG_BOARD_CONFIG and KCONFIG_CPU_CONFIG variable for
boards and CPUs (including common directories) to add default
configuration files to be merged. The current approach, as it uses
Makefile.features, would include boards first, not allowing them to
override CPU configurations.
2021-12-13 12:33:21 +01:00
d9c78201cc
boards/stm32f769i-disco: remove wrong DMA configuration
2021-11-15 15:09:04 +01:00
527d321533
boards/stm32f769i-disco: fix mistake in Kconfig clock config
2021-11-15 15:08:20 +01:00
Benjamin Valentin
fc88c4c4e5
boards: drop cpu_init()
2021-10-13 23:36:41 +02:00
Jan Romann
4384795cb9
treewide: Remove excessive newlines
2021-08-13 19:50:38 +02:00
b53d750029
boards/stm32: set openocd as only supported programmer
2021-02-24 13:29:16 +01:00
603186f913
make: namespace openocd DEBUG_ADAPTER variable
2021-02-23 21:22:52 +01:00
a034e65453
boards/stm32f7: use common clk_conf.h header
2021-01-25 11:44:22 +01:00
551eb80498
boards/stm32f7*: add Kconfig clock configuration
2021-01-19 22:09:17 +01:00
f8822b5f8f
boards: remove not need PORT_LINUX/PORT_DARWIN
...
They defined the same in serial.inc.mk. Some Darwin default are changed because they are probably wrong
2020-12-02 09:20:57 +01:00
4c290e1f92
boards: remove include of serial.inc.mk
2020-12-02 09:20:57 +01:00
c6ad85a7b0
boards: don't include programmer logic at board level
2020-11-25 22:31:13 +01:00
e1ee49ebe2
boards/stm32f7*: use new clock configuration scheme
2020-10-06 16:10:05 +02:00
be33f63cae
boards/stm32*disco: model features in Kconfig
2020-07-16 11:34:03 +02:00
facb626b02
boards/stm32*: adapt for new stm32 cpu organization
2020-05-20 13:39:10 +02:00
08c74db3d9
stm32f769i-disco: add usbdev feature
2020-02-11 15:50:21 +01:00
Gaëtan Harter
636285ebe4
boards: move CPU/CPU_MODEL definition to Makefile.features
...
cpu/$(CPU)/Makefile.features and cpu/$(CPU)/Makefile.dep are
automatically included
Part of moving CPU/CPU_MODEL definition to Makefile.features to have it
available before Makefile.include.
2019-08-20 16:11:50 +02:00
Benjamin Valentin
8af04cd939
boards: make use of ARRAY_SIZE macro
2019-08-06 19:43:54 +02:00
Francisco
b8cd3c0724
Merge pull request #11809 from aabadie/pr/boards/stm32_timer_conf_common
...
boards/stm32: introduce common timer configurations and use them where possible
2019-08-06 17:07:22 +02:00
6bf9290ed5
boards/stm32f769i-disco: deduplicate doxygen group definition
...
The group is already defined in the doc.txt file so no need to define it again in board.h
2019-08-05 16:57:36 +02:00
e7e3f15d5d
boards/nucleo-f0/3/7: use common timer configuration
2019-08-05 15:00:11 +02:00
7853ca0108
boards/stm32*: remove useless RTC_NUMOF defines
2019-08-05 11:08:53 +02:00
a68f78bb10
boards/*: remove unused FEATURES_MCU_GROUP variable
2019-06-14 11:32:15 +02:00
414c304f2b
boards/*: remove useless export when setting DEBUG_ADAPTER
2019-06-03 10:32:08 +02:00
f153429f69
boards/stm32: add rtt features to stm32f7 based boards
2019-05-23 14:49:39 +02:00
973a6a4c93
boards/stm32: remove unnecessary ADC defines in board config
2019-01-02 09:15:22 +01:00
4ae15d18b5
boards/stm32based: remove periph_gpio/irq from board level
2018-12-18 21:51:14 +01:00
cladmi
b450141d4d
boards: unconditionally include CPU/Makefile.features
...
The file always exist so no need to do '-include'.
Replaced using:
sed -i 's|-\(include $(RIOTCPU)/.*/Makefile.features\)|\1|' \
$(git grep -l '$(RIOTCPU)/.*/Makefile.features' boards)
2018-10-11 17:13:40 +02:00
Joakim Nohlgård
8996cbe313
make: Introduce new feature flag periph_gpio_irq
2018-08-29 08:53:20 +02:00
Jose Alamos
a1e17ab5af
doc: add wiki documentation to Doxygen files
2018-08-01 15:24:54 +02:00
8bfa434a56
boards/stm32f769i-disco: adapt to common stlink parts
2018-06-26 20:45:23 +02:00
Vincent Dupont
c10568f02c
boards: use marketing name for stm32f769i-disco
2018-05-23 19:21:30 +02:00