diff --git a/cpu/esp_common/Kconfig b/cpu/esp_common/Kconfig index f2093d3c98..9f9c4d07d1 100644 --- a/cpu/esp_common/Kconfig +++ b/cpu/esp_common/Kconfig @@ -8,6 +8,7 @@ config CPU_ARCH_XTENSA bool select HAS_ARCH_32BIT select HAS_ARCH_ESP + select HAS_ARCH_ESP_XTENSA config CPU_COMMON_ESP bool @@ -63,6 +64,11 @@ config HAS_ARCH_ESP help Indicates that an 'ESP' architecture is being used. +config HAS_ARCH_ESP_XTENSA + bool + help + Indicates that an Xtensa-based 'ESP' architecture is being used. + config HAS_ESP_WIFI_ENTERPRISE bool help @@ -117,6 +123,7 @@ config MODULE_ESP_QEMU endif # TEST_KCONFIG +rsource "esp-xtensa/Kconfig" rsource "freertos/Kconfig" rsource "periph/Kconfig" rsource "vendor/xtensa/Kconfig" diff --git a/cpu/esp_common/esp-xtensa/Kconfig b/cpu/esp_common/esp-xtensa/Kconfig new file mode 100644 index 0000000000..d697dfe05b --- /dev/null +++ b/cpu/esp_common/esp-xtensa/Kconfig @@ -0,0 +1,14 @@ +# Copyright (c) 2022 Gunar Schorcht +# +# 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_XTENSA + bool + depends on TEST_KCONFIG + depends on HAS_ARCH_ESP_XTENSA + default y + help + Platform-dependent code for Xtensa-based ESP SoCs.