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

drivers/periph_spi: Kconfig SPI_ON_QSPI model

This commit is contained in:
MrKevinWeiss 2021-11-24 08:52:19 +01:00
parent f6b9637c82
commit 51f92fa816
No known key found for this signature in database
GPG Key ID: 3514539D7808D123
4 changed files with 8 additions and 1 deletions

View File

@ -20,6 +20,10 @@ config MODULE_PERIPH_SPI_RECONFIGURE
bool "Pin reconfiguration support"
depends on HAS_PERIPH_SPI_RECONFIGURE
config MODULE_PERIPH_SPI_ON_QSPI
bool "Use QSPI peripherial in SPI mode"
depends on HAS_PERIPH_SPI_ON_QSPI
config MODULE_PERIPH_SPI_GPIO_MODE
bool "Support initializing SPI pins with adapted GPIO modes"
depends on HAS_PERIPH_SPI_GPIO_MODE

View File

@ -18,7 +18,8 @@ ifneq (,$(filter periph_init, $(USEMODULE)))
periph_rtc_rtt \
periph_clic \
periph_coretimer \
periph_plic
periph_plic \
periph_spi_on_qspi
#
PERIPH_MODULES := $(filter-out $(PERIPH_IGNORE_MODULES),\
$(filter periph_%,$(USEMODULE)))

View File

@ -9,4 +9,5 @@ config APPLICATION
bool
default y
imply MODULE_PERIPH_SPI_RECONFIGURE
imply MODULE_PERIPH_SPI_ON_QSPI
depends on TEST_KCONFIG

View File

@ -9,4 +9,5 @@ config APPLICATION
bool
default y
imply MODULE_PERIPH_SPI_RECONFIGURE
imply MODULE_PERIPH_SPI_ON_QSPI
depends on TEST_KCONFIG