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:
parent
f6b9637c82
commit
51f92fa816
@ -20,6 +20,10 @@ config MODULE_PERIPH_SPI_RECONFIGURE
|
|||||||
bool "Pin reconfiguration support"
|
bool "Pin reconfiguration support"
|
||||||
depends on HAS_PERIPH_SPI_RECONFIGURE
|
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
|
config MODULE_PERIPH_SPI_GPIO_MODE
|
||||||
bool "Support initializing SPI pins with adapted GPIO modes"
|
bool "Support initializing SPI pins with adapted GPIO modes"
|
||||||
depends on HAS_PERIPH_SPI_GPIO_MODE
|
depends on HAS_PERIPH_SPI_GPIO_MODE
|
||||||
|
@ -18,7 +18,8 @@ ifneq (,$(filter periph_init, $(USEMODULE)))
|
|||||||
periph_rtc_rtt \
|
periph_rtc_rtt \
|
||||||
periph_clic \
|
periph_clic \
|
||||||
periph_coretimer \
|
periph_coretimer \
|
||||||
periph_plic
|
periph_plic \
|
||||||
|
periph_spi_on_qspi
|
||||||
#
|
#
|
||||||
PERIPH_MODULES := $(filter-out $(PERIPH_IGNORE_MODULES),\
|
PERIPH_MODULES := $(filter-out $(PERIPH_IGNORE_MODULES),\
|
||||||
$(filter periph_%,$(USEMODULE)))
|
$(filter periph_%,$(USEMODULE)))
|
||||||
|
@ -9,4 +9,5 @@ config APPLICATION
|
|||||||
bool
|
bool
|
||||||
default y
|
default y
|
||||||
imply MODULE_PERIPH_SPI_RECONFIGURE
|
imply MODULE_PERIPH_SPI_RECONFIGURE
|
||||||
|
imply MODULE_PERIPH_SPI_ON_QSPI
|
||||||
depends on TEST_KCONFIG
|
depends on TEST_KCONFIG
|
||||||
|
@ -9,4 +9,5 @@ config APPLICATION
|
|||||||
bool
|
bool
|
||||||
default y
|
default y
|
||||||
imply MODULE_PERIPH_SPI_RECONFIGURE
|
imply MODULE_PERIPH_SPI_RECONFIGURE
|
||||||
|
imply MODULE_PERIPH_SPI_ON_QSPI
|
||||||
depends on TEST_KCONFIG
|
depends on TEST_KCONFIG
|
||||||
|
Loading…
Reference in New Issue
Block a user