1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2026-01-01 01:41:18 +01:00

cpu/esp32: move ESP32 specific Kconfigs to ESP32 submenu

This commit is contained in:
Gunar Schorcht 2022-07-18 09:52:26 +02:00
parent f066260a9f
commit 14fd3735a2
2 changed files with 10 additions and 5 deletions

View File

@ -131,10 +131,11 @@ menu "ESP32 specific configurations"
bool "Enable JTAG debugging interface"
depends on HAS_ESP_JTAG
rsource "bootloader/Kconfig"
rsource "esp-idf/Kconfig"
rsource "esp-idf-api/Kconfig"
rsource "periph/Kconfig"
endmenu
rsource "bootloader/Kconfig"
rsource "esp-idf/Kconfig"
rsource "esp-idf-api/Kconfig"
rsource "periph/Kconfig"
source "$(RIOTCPU)/esp_common/Kconfig"

View File

@ -23,8 +23,12 @@ config MODULE_PERIPH_RTT_HW_RTC
default y if MODULE_PERIPH_RTT
config MODULE_ESP_HW_COUNTER
bool "Use hardware counter"
bool "Use hardware counter as low-level timer peripheral"
depends on HAS_ESP_HW_COUNTER
depends on MODULE_PERIPH_TIMER
help
ESP SoCs with Xtensa cores typically have a set of CCOUNT and CCOMPARE
registers that can be used as low-level timer peripherals. Use this
option to enable these CCOUNT and CCOMPARE register as low-level timer.
endif # TEST_KCONFIG