1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-17 05:12:57 +01:00

cpu/esp: model missing modules

This commit is contained in:
Francisco Molina 2022-02-04 08:23:45 +01:00
parent a5aa9486dd
commit c1238ad4e4
5 changed files with 13 additions and 2 deletions

View File

@ -19,5 +19,5 @@ FEATURES_PROVIDED += arduino
# This configuration enables modules that are only available when using Kconfig
# module modelling
ifeq (1, $(TEST_KCONFIG))
KCONFIG_BOARD_CONFIG += $(BOARDDIR)/esp32-wrover-kit.config
KCONFIG_BOARD_CONFIG += $(BOARDDIR)/$(BOARD).config
endif

View File

@ -27,4 +27,8 @@ config MODULE_PERIPH_RTT_HW_RTC
bool
default y if MODULE_PERIPH_RTT
config MODULE_ESP_HW_COUNTER
bool "Use hardware counter"
depends on MODULE_PERIPH_TIMER
endif # TEST_KCONFIG

View File

@ -7,7 +7,7 @@
if TEST_KCONFIG
choice
choice ESP32_I2C_IMPLEMENTATION
bool "I2C implementation"
depends on MODULE_PERIPH_I2C
help

View File

@ -84,5 +84,9 @@ config MODULE_ESP_I2C_SW
default y if MODULE_PERIPH_I2C
select MODULE_PERIPH_I2C_SW
config MODULE_ESP_SW_TIMER
bool "Use software timer"
depends on MODULE_PERIPH_TIMER
rsource "sdk/Kconfig"
rsource "vendor/Kconfig"

View File

@ -111,6 +111,9 @@ config MODULE_ESP_LOG_STARTUP
endmenu
config MODULE_ESP_QEMU
bool "Simulate ESP with QEMU"
endif # TEST_KCONFIG
rsource "freertos/Kconfig"