Skip to content

Commit

Permalink
REMOVEME
Browse files Browse the repository at this point in the history
Just for test compilations in CI.
  • Loading branch information
gschorcht committed Dec 29, 2021
1 parent c533b6c commit 036c60e
Show file tree
Hide file tree
Showing 3 changed files with 260 additions and 5 deletions.
2 changes: 1 addition & 1 deletion cpu/nrf5x_common/radio/Kconfig.nrf5x
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

config HAVE_NRF5X_RADIO
bool
select NRF5X_RADIO if MODULE_NETDEV_DEFAULT
# select NRF5X_RADIO if MODULE_NETDEV_DEFAULT
help
Indicates that an NRF5X radio is present.

Expand Down
2 changes: 1 addition & 1 deletion sys/random/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ if MODULE_RANDOM
choice RANDOM_IMPLEMENTATION
bool "PRNG Implementation"
depends on TEST_KCONFIG
default MODULE_PRNG_HWRNG if HAS_PERIPH_HWRNG
default MODULE_PRNG_HWRNG if HAS_PERIPH_HWRNG && !MODULE_NETDEV_DEFAULT
default MODULE_PRNG_MUSL_LCG

menuconfig MODULE_PRNG_FORTUNA
Expand Down
261 changes: 258 additions & 3 deletions tests/driver_netdev_common/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -30,20 +30,98 @@ config DRIVER_NETDEV_COMMON

# the following is just for testing and is removed before merge

if TEST_KCONFIG

config MODULE_NETOPT
bool

config MODULE_NETDEV
bool
default y if BOARD_ATXMEGA_A1_XPLAINED && MODULE_NETDEV_DEFAULT
default y if BOARD_ATXMEGA_A3BU_XPLAINED && MODULE_NETDEV_DEFAULT
select MODULE_EUI_PROVIDER

config MODULE_NETDEV_REGISTER
config MODULE_NETDEV_ETH
bool
default y if HAS_PERIPH_ETH
select MODULE_NATIVE_CLI_EUI_PROVIDER if BOARD_NATIVE
select MODULE_NETDEV
select MODULE_NETDEV_REGISTER if !MODULE_GNRC_NETIF_SINGLE

config MODULE_NETDEV_ETH
select MODULE_PERIPH_ETH if HAS_PERIPH_ETH
select MODULE_PERIPH_ETH_COMMON if HAS_PERIPH_ETH
select MODULE_PERIPH_INIT_ETH if HAS_PERIPH_ETH
select MODULE_PERIPH_INIT_ETH_COMMON if HAS_PERIPH_ETH

select MODULE_STM32_ETH if HAS_PERIPH_ETH && HAS_CPU_STM32
select MODULE_SAM0_ETH if HAS_PERIPH_ETH && HAS_CPU_SAMD5X

config MODULE_NETDEV_IEEE802154
bool
select MODULE_EUI_PROVIDER
select MODULE_NETDEV
select MODULE_NETDEV_REGISTER if !MODULE_GNRC_NETIF_SINGLE
select MODULE_RANDOM

config MODULE_NETDEV_IEEE802154_OQPSK
bool

config MODULE_NETDEV_IEEE802154_SUBMAC
bool
default y if HAS_RADIO_NRF802154 && MODULE_NETDEV_DEFAULT
default y if MODULE_CC2538_RF && MODULE_NETDEV_DEFAULT
select MODULE_GNRC_NETIF_PKTQ
select MODULE_IEEE802154
select MODULE_IEEE802154_SUBMAC
select MODULE_NETDEV_IEEE802154
select NRF5X_RADIO if HAS_RADIO_NRF802154

config MODULE_NETDEV_REGISTER
bool

config MODULE_NETDEV_TAP
bool
default y if BOARD_NATIVE && MODULE_NETDEV_DEFAULT
select MODULE_NETDEV_ETH
select MODULE_IOLIST

###

config MODULE_AT86RF212B
bool
default y if BOARD_MULLE && MODULE_NETDEV_DEFAULT
select MODULE_AT86RF2XX
select MODULE_PERIPH_GPIO_IRQ

config MODULE_AT86RF233
bool
default y if BOARD_HAMILTON && MODULE_NETDEV_DEFAULT
default y if BOARD_SAMR21_XPRO && MODULE_NETDEV_DEFAULT
select MODULE_AT86RF2XX
select MODULE_PERIPH_GPIO_IRQ
select MODULE_PERIPH_SPI

config MODULE_AT86RFA1
bool
default y if HAS_CPU_ATMEGA128RFA1 && MODULE_NETDEV_DEFAULT
select MODULE_AT86RF2XX

config MODULE_AT86RFR2
bool
default y if HAS_CPU_ATMEGA256RFR2 && MODULE_NETDEV_DEFAULT
select MODULE_AT86RF2XX

config MODULE_AT86RF2XX
bool
select MODULE_AUTO_INIT_AT86RF2XX
select MODULE_AUTO_INIT_RANDOM
select MODULE_NETDEV_IEEE802154
select MODULE_NETDEV_IEEE802154_OQPSK
select MODULE_IEEE802154
select MODULE_RANDOM
select MODULE_XTIMER

config MODULE_AUTO_INIT_AT86RF2XX
bool

config MODULE_AUTO_INIT_GNRC_NETIF
bool
Expand All @@ -54,10 +132,74 @@ config MODULE_AUTO_INIT_GNRC_PKTBUF
config MODULE_AUTO_INIT_GNRC_PKTDUMP
bool

config MODULE_CC1100
bool
default y if BOARD_AVSEXTREM && MODULE_NETDEV_DEFAULT
select MODULE_CC110X
select MODULE_CC110X_868MHZ
select MODULE_NETDEV

config MODULE_CC110X
bool
select MODULE_CC1XXX_COMMON
select MODULE_PERIPH_GPIO_IRQ
select MODULE_PERIPH_INIT_GPIO_IRQ
select MODULE_PERIPH_INIT_SPI
select MODULE_PERIPH_SPI
select MODULE_XTIMER

config MODULE_CC110X_868MHZ
bool

config MODULE_CC1XXX_COMMON
bool

config MODULE_CC2420
bool
default y if BOARD_Z1 && MODULE_NETDEV_DEFAULT
select MODULE_IEEE802154
select MODULE_NETDEV_IEEE802154
select MODULE_PERIPH_GPIO_IRQ
select MODULE_PERIPH_SPI
select MODULE_PERIPH_TIMER
select MODULE_XTIMER

config MODULE_ESP_NOW
bool
default y if HAS_ESP_NOW && MODULE_NETDEV_DEFAULT
select MODULE_ESP_IDF_HEAP
select MODULE_ESP_IDF_NVS_FLASH
select MODULE_ESP_IDF_SPI_FLASH
select MODULE_ESP_IDF_WPA_SUPPLICANT_CRYPTO
select MODULE_ESP_IDF_WPA_SUPPLICANT_PORT
select MODULE_ESP_WIFI_ANY
select MODULE_NETDEV
select MODULE_NETOP
select MODULE_MTD

config MODULE_ESP_IDF_HEAP
bool

config MODULE_ESP_IDF_NVS_FLASH
bool

config MODULE_ESP_IDF_SPI_FLASH
bool

config MODULE_ESP_IDF_WPA_SUPPLICANT_CRYPTO
bool

config MODULE_ESP_IDF_WPA_SUPPLICANT_PORT
bool

config MODULE_ESP_WIFI_ANY
bool

config MODULE_GNRC
bool
select MODULE_GNRC_NETAPI
select MODULE_GNRC_NETIF_ETHERNET if MODULE_NETDEV_ETH
select MODULE_GNRC_NETIF_IEEE802154 if MODULE_NETDEV_IEEE802154
select MODULE_GNRC_NETREG
select MODULE_GNRC_NETIF
select MODULE_GNRC_NETIF_HDR
Expand All @@ -79,6 +221,10 @@ config MODULE_GNRC_NETIF_ETHERNET
bool
select MODULE_NETIF

config MODULE_GNRC_NETIF_IEEE802154
bool
select MODULE_NETIF

config MODULE_GNRC_NETIF_HDR
bool

Expand All @@ -104,14 +250,123 @@ config MODULE_GNRC_PKTDUMP
select MODULE_OD
select MODULE_GNRC_PKTBUF

config MODULE_GNRC_NETIF_PKTQ
bool

config MODULE_GNRC_TXTSND
bool

config MODULE_L2UTIL
bool

config MODULE_NATIVE_CLI_EUI_PROVIDER
bool

config MODULE_NETIF
bool

config MODULE_NIMBLE_NETIF
bool
default y if BOARD_DWM1001 && MODULE_NETDEV_DEFAULT
depends on HAS_BLE_NIMBLE
select MODULE_AUTO_INIT_RANDOM
select MODULE_NETDEV
select PACKAGE_NIMBLE
select MODULE_NIMBLE_CONTROLLER
select MODULE_NIMBLE_DRIVERS_NRF5X if HAS_CPU_NRF52
select MODULE_NIMBLE_HOST
select MODULE_NIMBLE_NPL_RIOT
select MODULE_NIMBLE_PORTING_NIMBLE
select MODULE_NIMBLE_RIOT_CONTRIB
select MODULE_NIMBLE_SCANLIST
select MODULE_NIMBLE_SCANNER
select MODULE_NIMBLE_TRANSPORT_RAM
select MODULE_RANDOM

config MODULE_BLUETIL_AD
bool

config MODULE_BLUETIL_ADDR
bool

config PACKAGE_NIMBLE
bool "NIMBLE package"
select MODULE_SEMA
select MODULE_EVENT
select MODULE_EVENT_CALLBACK
select MODULE_ZTIMER_MSEC
select MODULE_ZTIMER_PERIPH_TIMER

config MODULE_NIMBLE_ADDR
bool
select MODULE_BLUETIL_AD
select MODULE_BLUETIL_ADDR

config MODULE_NIMBLE_CONTROLLER
bool

config MODULE_NIMBLE_DRIVERS_NRF5X
bool
select MODULE_PERIPH_TIMER
select MODULE_PERIPH_INIT_TIMER

config MODULE_NIMBLE_HOST
bool
select MODULE_NIMBLE_HOST_STORE_RAM
select MODULE_NIMBLE_HOST_UTIL
select PACKAGE_TINYCRYPT

config MODULE_NIMBLE_HOST_STORE_RAM
bool

config MODULE_NIMBLE_HOST_UTIL
bool

config MODULE_NIMBLE_NPL_RIOT
bool

config MODULE_NIMBLE_PORTING_NIMBLE
bool

config MODULE_NIMBLE_RIOT_CONTRIB
bool

config MODULE_NIMBLE_SCANLIST
bool
select MODULE_NIMBLE_ADDR
select MODULE_BLUETIL_AD
select MODULE_ZTIMER_USEC

config MODULE_NIMBLE_SCANNER
bool

config MODULE_NIMBLE_TRANSPORT_RAM
bool

config MODULE_OD
bool

config MODULE_PERIPH_ETH
bool

config MODULE_PERIPH_ETH_COMMON
bool

config MODULE_PERIPH_INIT_ETH
bool

config MODULE_PERIPH_INIT_ETH_COMMON
bool

config MODULE_SAM0_ETH
bool
select MODULE_IOLIST
select MODULE_NETOPT

config MODULE_STM32_ETH
bool
select MODULE_IOLIST
select MODULE_ZTIMER
select MODULE_ZTIMER_MSEC

endif # TEST_KCONFIG

0 comments on commit 036c60e

Please sign in to comment.