mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
cpu/esp8266: model Kconfig
This commit is contained in:
parent
bfdfbb1a48
commit
185d1a20df
@ -19,6 +19,17 @@ config CPU_FAM_ESP8266
|
||||
select HAS_PERIPH_RTT_OVERFLOW
|
||||
select HAS_PERIPH_RTT_SET_COUNTER
|
||||
|
||||
select PACKAGE_ESP8266_SDK if TEST_KCONFIG
|
||||
select MODULE_ESP_SDK if TEST_KCONFIG
|
||||
select MODULE_ESP_IDF_ESP8266 if TEST_KCONFIG
|
||||
select MODULE_ESP_IDF_NVS_FLASH if TEST_KCONFIG
|
||||
select MODULE_ESP_IDF_SPI_FLASH if TEST_KCONFIG
|
||||
select MODULE_ESP_IDF_UTIL if TEST_KCONFIG
|
||||
select MODULE_ESP_IDF_WPA_SUPPLICANT_CRYPTO if TEST_KCONFIG
|
||||
select MODULE_ESP_SDK if TEST_KCONFIG
|
||||
select MODULE_PERIPH_COMMON if TEST_KCONFIG
|
||||
select MODULE_RTT_RTC if HAS_PERIPH_RTT && MODULE_PERIPH_RTC
|
||||
|
||||
## CPU Models
|
||||
config CPU_MODEL_ESP8266EX
|
||||
bool
|
||||
@ -54,3 +65,11 @@ config CPU
|
||||
default "esp8266" if CPU_FAM_ESP8266
|
||||
|
||||
source "$(RIOTCPU)/esp_common/Kconfig"
|
||||
|
||||
config MODULE_ESP_I2C_SW
|
||||
bool
|
||||
default y if MODULE_PERIPH_I2C
|
||||
select MODULE_PERIPH_I2C_SW
|
||||
|
||||
rsource "sdk/Kconfig"
|
||||
rsource "vendor/Kconfig"
|
||||
|
@ -9,3 +9,9 @@ FEATURES_PROVIDED += periph_rtt
|
||||
FEATURES_PROVIDED += periph_rtc
|
||||
FEATURES_PROVIDED += periph_rtt_overflow
|
||||
FEATURES_PROVIDED += periph_rtt_set_counter
|
||||
|
||||
# This configuration enables modules that are only available when using Kconfig
|
||||
# module modelling
|
||||
ifeq (1, $(TEST_KCONFIG))
|
||||
KCONFIG_ADD_CONFIG += $(RIOTCPU)/esp8266/esp8266.config
|
||||
endif
|
||||
|
2
cpu/esp8266/esp8266.config
Normal file
2
cpu/esp8266/esp8266.config
Normal file
@ -0,0 +1,2 @@
|
||||
CONFIG_MODULE_MTD=y
|
||||
CONFIG_MODULE_PS=y
|
11
cpu/esp8266/sdk/Kconfig
Normal file
11
cpu/esp8266/sdk/Kconfig
Normal file
@ -0,0 +1,11 @@
|
||||
# Copyright (c) 2021 HAW Hamburg
|
||||
#
|
||||
# This file is subject to the terms and conditions of the GNU Lesser
|
||||
# General Public License v2.1. See the file LICENSE in the top level
|
||||
# directory for more details.
|
||||
#
|
||||
|
||||
config MODULE_ESP_SDK
|
||||
bool
|
||||
depends on TEST_KCONFIG
|
||||
depends on HAS_ARCH_ESP8266
|
9
cpu/esp8266/vendor/Kconfig
vendored
Normal file
9
cpu/esp8266/vendor/Kconfig
vendored
Normal file
@ -0,0 +1,9 @@
|
||||
# Copyright (c) 2021 HAW Hamburg
|
||||
#
|
||||
# This file is subject to the terms and conditions of the GNU Lesser
|
||||
# General Public License v2.1. See the file LICENSE in the top level
|
||||
# directory for more details.
|
||||
#
|
||||
|
||||
rsource "esp-gdbstub/Kconfig"
|
||||
rsource "esp-idf/Kconfig"
|
11
cpu/esp8266/vendor/esp-gdbstub/Kconfig
vendored
Normal file
11
cpu/esp8266/vendor/esp-gdbstub/Kconfig
vendored
Normal file
@ -0,0 +1,11 @@
|
||||
# Copyright (c) 2021 HAW Hamburg
|
||||
#
|
||||
# This file is subject to the terms and conditions of the GNU Lesser
|
||||
# General Public License v2.1. See the file LICENSE in the top level
|
||||
# directory for more details.
|
||||
#
|
||||
|
||||
config MODULE_ESP_GDBSTUB
|
||||
bool "gdbstub interface support"
|
||||
depends on TEST_KCONFIG
|
||||
depends on HAS_ARCH_ESP8266
|
18
cpu/esp8266/vendor/esp-idf/Kconfig
vendored
Normal file
18
cpu/esp8266/vendor/esp-idf/Kconfig
vendored
Normal file
@ -0,0 +1,18 @@
|
||||
# Copyright (c) 2021 HAW Hamburg
|
||||
#
|
||||
# This file is subject to the terms and conditions of the GNU Lesser
|
||||
# General Public License v2.1. See the file LICENSE in the top level
|
||||
# directory for more details.
|
||||
#
|
||||
|
||||
config MODULE_ESP_IDF
|
||||
bool
|
||||
depends on TEST_KCONFIG
|
||||
depends on HAS_ARCH_ESP8266
|
||||
|
||||
rsource "esp8266/source/Kconfig"
|
||||
rsource "heap/src/Kconfig"
|
||||
rsource "nvs_flash/src/Kconfig"
|
||||
rsource "spi_flash/Kconfig"
|
||||
rsource "util/src/Kconfig"
|
||||
rsource "wpa_supplicant/Kconfig"
|
11
cpu/esp8266/vendor/esp-idf/esp8266/source/Kconfig
vendored
Normal file
11
cpu/esp8266/vendor/esp-idf/esp8266/source/Kconfig
vendored
Normal file
@ -0,0 +1,11 @@
|
||||
# Copyright (c) 2021 HAW Hamburg
|
||||
#
|
||||
# This file is subject to the terms and conditions of the GNU Lesser
|
||||
# General Public License v2.1. See the file LICENSE in the top level
|
||||
# directory for more details.
|
||||
#
|
||||
|
||||
config MODULE_ESP_IDF_ESP8266
|
||||
bool
|
||||
depends on TEST_KCONFIG
|
||||
depends on MODULE_ESP_IDF
|
11
cpu/esp8266/vendor/esp-idf/heap/src/Kconfig
vendored
Normal file
11
cpu/esp8266/vendor/esp-idf/heap/src/Kconfig
vendored
Normal file
@ -0,0 +1,11 @@
|
||||
# Copyright (c) 2021 HAW Hamburg
|
||||
#
|
||||
# This file is subject to the terms and conditions of the GNU Lesser
|
||||
# General Public License v2.1. See the file LICENSE in the top level
|
||||
# directory for more details.
|
||||
#
|
||||
|
||||
config MODULE_ESP_IDF_HEAP
|
||||
bool
|
||||
depends on TEST_KCONFIG
|
||||
depends on MODULE_ESP_IDF
|
13
cpu/esp8266/vendor/esp-idf/nvs_flash/src/Kconfig
vendored
Normal file
13
cpu/esp8266/vendor/esp-idf/nvs_flash/src/Kconfig
vendored
Normal file
@ -0,0 +1,13 @@
|
||||
# Copyright (c) 2021 HAW Hamburg
|
||||
#
|
||||
# This file is subject to the terms and conditions of the GNU Lesser
|
||||
# General Public License v2.1. See the file LICENSE in the top level
|
||||
# directory for more details.
|
||||
#
|
||||
|
||||
config MODULE_ESP_IDF_NVS_FLASH
|
||||
bool
|
||||
depends on TEST_KCONFIG
|
||||
depends on MODULE_ESP_IDF
|
||||
help
|
||||
Non-volatile storage library.
|
11
cpu/esp8266/vendor/esp-idf/spi_flash/Kconfig
vendored
Normal file
11
cpu/esp8266/vendor/esp-idf/spi_flash/Kconfig
vendored
Normal file
@ -0,0 +1,11 @@
|
||||
# Copyright (c) 2021 HAW Hamburg
|
||||
#
|
||||
# This file is subject to the terms and conditions of the GNU Lesser
|
||||
# General Public License v2.1. See the file LICENSE in the top level
|
||||
# directory for more details.
|
||||
#
|
||||
|
||||
config MODULE_ESP_IDF_SPI_FLASH
|
||||
bool
|
||||
depends on TEST_KCONFIG
|
||||
depends on MODULE_ESP_IDF
|
11
cpu/esp8266/vendor/esp-idf/util/src/Kconfig
vendored
Normal file
11
cpu/esp8266/vendor/esp-idf/util/src/Kconfig
vendored
Normal file
@ -0,0 +1,11 @@
|
||||
# Copyright (c) 2021 HAW Hamburg
|
||||
#
|
||||
# This file is subject to the terms and conditions of the GNU Lesser
|
||||
# General Public License v2.1. See the file LICENSE in the top level
|
||||
# directory for more details.
|
||||
#
|
||||
|
||||
config MODULE_ESP_IDF_UTIL
|
||||
bool
|
||||
depends on TEST_KCONFIG
|
||||
depends on MODULE_ESP_IDF
|
9
cpu/esp8266/vendor/esp-idf/wpa_supplicant/Kconfig
vendored
Normal file
9
cpu/esp8266/vendor/esp-idf/wpa_supplicant/Kconfig
vendored
Normal file
@ -0,0 +1,9 @@
|
||||
# Copyright (c) 2021 HAW Hamburg
|
||||
#
|
||||
# This file is subject to the terms and conditions of the GNU Lesser
|
||||
# General Public License v2.1. See the file LICENSE in the top level
|
||||
# directory for more details.
|
||||
#
|
||||
|
||||
rsource "port/Kconfig"
|
||||
rsource "src/crypto/Kconfig"
|
11
cpu/esp8266/vendor/esp-idf/wpa_supplicant/port/Kconfig
vendored
Normal file
11
cpu/esp8266/vendor/esp-idf/wpa_supplicant/port/Kconfig
vendored
Normal file
@ -0,0 +1,11 @@
|
||||
# Copyright (c) 2021 HAW Hamburg
|
||||
#
|
||||
# This file is subject to the terms and conditions of the GNU Lesser
|
||||
# General Public License v2.1. See the file LICENSE in the top level
|
||||
# directory for more details.
|
||||
#
|
||||
|
||||
config MODULE_ESP_IDF_WPA_SUPPLICANT_PORT
|
||||
bool
|
||||
depends on TEST_KCONFIG
|
||||
depends on MODULE_ESP_IDF
|
11
cpu/esp8266/vendor/esp-idf/wpa_supplicant/src/crypto/Kconfig
vendored
Normal file
11
cpu/esp8266/vendor/esp-idf/wpa_supplicant/src/crypto/Kconfig
vendored
Normal file
@ -0,0 +1,11 @@
|
||||
# Copyright (c) 2021 HAW Hamburg
|
||||
#
|
||||
# This file is subject to the terms and conditions of the GNU Lesser
|
||||
# General Public License v2.1. See the file LICENSE in the top level
|
||||
# directory for more details.
|
||||
#
|
||||
|
||||
config MODULE_ESP_IDF_WPA_SUPPLICANT_CRYPTO
|
||||
bool
|
||||
depends on TEST_KCONFIG
|
||||
depends on MODULE_ESP_IDF
|
Loading…
Reference in New Issue
Block a user