1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-18 12:52:44 +01:00
RIOT/boards/common/gd32v
Gunar Schorcht edbf59e37e boards/common/gd32v: flexible default SPI configuration
The default SPI device configuration allows to define up to two SPI devices `SPI_DEV(0)` and `SPI_DEV(1)`. `SPI_DEV(0)` is always defined if the SPI peripheral is enabled by the module `periph_spi`. The second SPI device `SPI_DEV(1)` is only defined if `SPI_DEV_1_USED` is defined by the board. This allows to use the default configuration with one or two SPI devices depending on whether other peripherals are enabled that would collide with the SPI devices.
Furthermore, the CS signal in the SPI configuration is given by a define that can be overriden with another pin if
the default CS signal is connected to an unused hardware.
2023-02-06 07:57:13 +01:00
..
dist boards/common: add common definitions for GD32VF103 boards 2023-01-23 18:59:32 +01:00
include boards/common/gd32v: flexible default SPI configuration 2023-02-06 07:57:13 +01:00
doc.txt boards/common: add common definitions for GD32VF103 boards 2023-01-23 18:59:32 +01:00
Kconfig boards/common: add common definitions for GD32VF103 boards 2023-01-23 18:59:32 +01:00
Makefile.dep boards/common: add common definitions for GD32VF103 boards 2023-01-23 18:59:32 +01:00
Makefile.features boards/common: add common definitions for GD32VF103 boards 2023-01-23 18:59:32 +01:00
Makefile.include boards/sipeed-longan-nano: default to flashing via DFU 2023-01-27 12:11:00 +01:00