Skip to content

Commit

Permalink
cpu/esp_common: add module esp_riscv to Kconfig
Browse files Browse the repository at this point in the history
  • Loading branch information
gschorcht committed Jun 26, 2022
1 parent 9f37551 commit 57d12c3
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
6 changes: 6 additions & 0 deletions cpu/esp_common/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,11 @@ config HAS_ARCH_ESP_XTENSA
help
Indicates that an Xtensa-based 'ESP' architecture is being used.

config HAS_ARCH_ESP_RISCV
bool
help
Indicates that an RISC-V-based 'ESP' architecture is being used.

config HAS_ESP_WIFI_ENTERPRISE
bool
help
Expand Down Expand Up @@ -123,6 +128,7 @@ config MODULE_ESP_QEMU

endif # TEST_KCONFIG

rsource "esp-riscv/Kconfig"
rsource "esp-xtensa/Kconfig"
rsource "freertos/Kconfig"
rsource "periph/Kconfig"
Expand Down
14 changes: 14 additions & 0 deletions cpu/esp_common/esp-riscv/Kconfig
Original file line number Diff line number Diff line change
@@ -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_RISCV
bool
depends on TEST_KCONFIG
depends on HAS_ARCH_ESP_RISCV
default y
help
Platform-dependent code for Xtensa-based ESP SoCs.

0 comments on commit 57d12c3

Please sign in to comment.