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

149 Commits

Author SHA1 Message Date
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
Teufelchen1
1231807bab Documentation: Renaming OS X to macOS 2022-06-23 17:25:48 +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
Fabian Hüßler
9163d78910 boards: add VBAT for stm32 based boards with ADC 2022-02-21 10:49:43 +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
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
96b79c21f0
boards/stm32f4*: add Kconfig clock configuration 2021-01-19 22:09:16 +01:00
f5616e406f
boards/stm32f4discovery: update documentation 2021-01-11 21:31:49 +01:00
46b92f487a
boards/stm32f4discovery: use custom renode sysbus for uart 2021-01-11 21:31:49 +01:00
MrKevinWeiss
67ef7e25e6 boards/stm32f4discovery: Add initial renode support 2021-01-05 17:09:58 +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
39e06babf5
boards/stm32: use generic clk_conf.h header 2020-10-27 08:44:56 +01:00
benpicco
d98f93513f
Merge pull request #15043 from aabadie/pr/boards/stm32f2f4f7_remove_96_180
boards/stm32f4: remove default clock configuration for 96MHz and 168MHz CPUs
2020-10-19 19:42:52 +02:00
Leandro Lanzieri
fe6d66d92a
kconfig: add ERROR symbol for conflicting modules 2020-10-09 18:04:17 +02:00
95fb362a5c
boards/stm32f4xx: use 180MHz default clock header 2020-10-06 22:07:19 +02:00
721625011e
boards/stm32f4*: use new clock configuration scheme 2020-10-06 16:10:05 +02:00
hugues
110c9bb8c1 boards/stm32f4discovery: declare adc_config[] directly in periph_conf.h 2020-08-27 03:56:26 +02:00
dc890c4505
stm32f4discovery: remove obsolete spi_divtable 2020-08-18 16:55:10 +02:00
be33f63cae
boards/stm32*disco: model features in Kconfig 2020-07-16 11:34:03 +02:00
Leandro Lanzieri
8e60c8b5e3
Merge pull request #10445 from MrKevinWeiss/pr/fix/i2cpinout/stmdisco
boards/stm32f4discovery: Change sda pin
2020-06-24 17:34:08 +02:00
97f98dcace
boards/stm32: remove useless ifdef around DMA config 2020-05-25 13:23:20 +02:00
dc6bb50021
Merge pull request #14093 from bergzand/pr/boards_stm32f4/add_spi_dma
boards/stm32f4: Add DMA config for SPI
2020-05-25 13:17:22 +02:00
859f0d9c03
stm32f4discovery: Add DMA config for SPI 2020-05-25 11:42:12 +02:00
facb626b02
boards/stm32*: adapt for new stm32 cpu organization 2020-05-20 13:39:10 +02:00
28f00f731f
boards/stm32: remove obsolete UART DMA ISR defines 2020-05-20 08:49:22 +02:00
d8ec0b292f
boards/stm32f4: Set DMA_STREAM_UNDEF for UART DMA
This PR sets the DMA configuration for the UART peripherals on the
stm32f4 boards to the undef value to disable the DMA. This to prevent
from accidentally configuring the DMA to stream 0 channel 0 when
enabling DMA.
2020-05-20 08:49:22 +02:00
Gunar Schorcht
cf033205f0 boards/stm32f4discovery: fix broken links 2020-03-24 10:39:49 +01:00
d9837182a0
stm32f4discovery: add usbdev feature 2020-02-11 15:50:21 +01:00
Hyungsin
6eed5b9d43 remove XTIMER_OVERHEAD 2020-01-10 13:22:11 -08:00
Yannick Gicquel
d37adee32d boards/stm32-based: allow SPI signals routed on multiple alternate functions
There is no hardware limitation for custom boards based on STM32 to uses
SPI bus with signals coming from different PORT and alternate functions.

This patch allow alternate's function definition per pin basis, thus enable
the support of SPI bus signals routed on differents PORT.

Signed-off-by: Yannick Gicquel <ygicquel@gmail.com>
2019-10-25 06:27:41 +02:00
5dfe80d24c
boards/stm32: initialize board gpios after cpu 2019-10-04 17:05:40 +02: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
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
a5ff1dc32a
boards/stm32f4discovery: use common clock configuration without LSE
This fixes the boards being stuck when initializing the RTC
2019-02-27 21:49:56 +01:00
MrKevinWeiss
46e8f719c1 boards/stm32f4discovery: Change sda pin
This commit changes the I2C0 SDA pin to 9 from 7.
This is because the CS43L22 is connected to scl6 and sda9.
2019-01-11 10:12:43 +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
Kevin Weiss
8468fe1c94
Merge pull request #8516 from jia200x/wiki_dox_convertion
doc: move wiki to Doxygen documentation (second attempt)
2018-08-07 13:27:04 +02:00
Jose Alamos
7b28fbf110 boards: fix Doxygen group directives 2018-08-01 15:24:55 +02:00
Jose Alamos
a1e17ab5af doc: add wiki documentation to Doxygen files 2018-08-01 15:24:54 +02:00
4e09a2b6b7 boards*: adapt stm32f4 based board with new i2c conf style 2018-07-25 12:01:37 +02:00