mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
Merge pull request #17255 from MrKevinWeiss/pr/kconfig/sam54
.murdock: Add same54-xpro to kconfig tests
This commit is contained in:
commit
05b9c84369
1
.murdock
1
.murdock
@ -40,6 +40,7 @@ nucleo-l433rc
|
||||
nucleo-l552ze-q
|
||||
p-nucleo-wb55
|
||||
remote-revb
|
||||
same54-xpro
|
||||
samr21-xpro
|
||||
seeedstudio-gd32
|
||||
slstk3400a
|
||||
|
@ -22,3 +22,7 @@ config BOARD_ADAFRUIT_ITSYBITSY_M4
|
||||
select HAS_PERIPH_TIMER
|
||||
select HAS_PERIPH_UART
|
||||
select HAS_PERIPH_USBDEV
|
||||
|
||||
select HAVE_MTD_SPI_NOR
|
||||
# This specific board requires SPI_ON_QSPI for the MTD_SPI_NOR
|
||||
select MODULE_PERIPH_SPI_ON_QSPI if MODULE_MTD_SPI_NOR
|
||||
|
@ -7,6 +7,10 @@ ifneq (,$(filter eui_provider,$(USEMODULE)))
|
||||
USEMODULE += at24mac
|
||||
endif
|
||||
|
||||
ifneq (,$(filter mtd,$(USEMODULE)))
|
||||
USEMODULE += mtd_at24cxxx at24mac
|
||||
endif
|
||||
|
||||
ifneq (,$(filter saul_default,$(USEMODULE)))
|
||||
USEMODULE += bme280_i2c
|
||||
USEMODULE += saul_gpio
|
||||
|
@ -23,3 +23,9 @@ config BOARD_SAME54_XPRO
|
||||
select HAS_PERIPH_UART
|
||||
select HAS_PERIPH_USBDEV
|
||||
select HAS_RIOTBOOT
|
||||
|
||||
select HAVE_SAUL_GPIO
|
||||
select HAVE_MTD_SPI_NOR
|
||||
select HAVE_AT24MAC
|
||||
# This specific board requires SPI_ON_QSPI for the MTD_SPI_NOR
|
||||
select MODULE_PERIPH_SPI_ON_QSPI if MODULE_MTD_SPI_NOR
|
||||
|
@ -18,7 +18,7 @@ config MODULE_SAM0_COMMON_PERIPH
|
||||
|
||||
config MODULE_PERIPH_RTC_RTT
|
||||
bool
|
||||
default y if MODULE_PERIPH_RTT || MODULE_PERIPH_RTC
|
||||
default y if MODULE_PERIPH_RTT || MODULE_PERIPH_RTC || MODULE_PERIPH_GPIO_TAMPER_WAKE
|
||||
|
||||
config MODULE_PERIPH_UART_NONBLOCKING
|
||||
depends on HAS_PERIPH_UART_NONBLOCKING
|
||||
|
@ -10,8 +10,8 @@ comment "AT24MAC unique ID chip enabled as default EUI-48/64 provider"
|
||||
|
||||
config MODULE_AT24MAC
|
||||
bool
|
||||
prompt "AT24MAC unique ID chip" if !(MODULE_EUI_PROVIDER && HAVE_AT24MAC)
|
||||
default (MODULE_EUI_PROVIDER && HAVE_AT24MAC)
|
||||
prompt "AT24MAC unique ID chip" if !((MODULE_EUI_PROVIDER || MODULE_MTD) && HAVE_AT24MAC)
|
||||
default ((MODULE_EUI_PROVIDER || MODULE_MTD) && HAVE_AT24MAC)
|
||||
select MODULE_AT24CXXX
|
||||
depends on HAS_PERIPH_I2C
|
||||
depends on TEST_KCONFIG
|
||||
|
@ -29,6 +29,14 @@ config MODULE_PERIPH_GPIO_FAST_READ
|
||||
This trades an increase in power consumption for a decrease in GPIO pin
|
||||
read latency.
|
||||
|
||||
config MODULE_PERIPH_GPIO_TAMPER_WAKE
|
||||
bool "enable wake from Deep Sleep by RTC tamper pins"
|
||||
depends on HAS_PERIPH_GPIO_TAMPER_WAKE
|
||||
help
|
||||
If you enable this, a RTC tamper pin that has been configured as an
|
||||
interrupt can wake the CPU from Deep Sleep. Only RTC tamper pins
|
||||
(and the RTC alarm) can wake the CPU from Deep Sleep.
|
||||
|
||||
# TODO: this module is actually jus t an artifact from the way periph_init_%
|
||||
# modules are handled in Makefile. We need to define it to keep the list the
|
||||
# same for now. We should be able to remove it later on.
|
||||
@ -43,6 +51,11 @@ config MODULE_PERIPH_INIT_GPIO_FAST_READ
|
||||
default y if MODULE_PERIPH_INIT
|
||||
depends on MODULE_PERIPH_GPIO_FAST_READ
|
||||
|
||||
config MODULE_PERIPH_INIT_GPIO_TAMPER_WAKE
|
||||
bool "Auto initialize tamper detection"
|
||||
default y if MODULE_PERIPH_INIT
|
||||
depends on MODULE_PERIPH_GPIO_TAMPER_WAKE
|
||||
|
||||
endif # MODULE_PERIPH_GPIO
|
||||
|
||||
osource "$(RIOTCPU)/$(CPU)/periph/Kconfig.gpio"
|
||||
|
@ -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
|
||||
|
@ -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)))
|
||||
|
@ -10,4 +10,5 @@ config APPLICATION
|
||||
default y
|
||||
imply MODULE_PERIPH_GPIO_IRQ
|
||||
imply MODULE_PERIPH_GPIO_FAST_READ
|
||||
imply MODULE_PERIPH_GPIO_TAMPER_WAKE
|
||||
depends on TEST_KCONFIG
|
||||
|
@ -9,4 +9,5 @@ config APPLICATION
|
||||
bool
|
||||
default y
|
||||
imply MODULE_PERIPH_SPI_RECONFIGURE
|
||||
imply MODULE_PERIPH_SPI_ON_QSPI
|
||||
depends on TEST_KCONFIG
|
||||
|
@ -9,4 +9,5 @@ config APPLICATION
|
||||
bool
|
||||
default y
|
||||
imply MODULE_PERIPH_SPI_RECONFIGURE
|
||||
imply MODULE_PERIPH_SPI_ON_QSPI
|
||||
depends on TEST_KCONFIG
|
||||
|
Loading…
Reference in New Issue
Block a user