Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cpu/esp32: fix dependency for periph/rtt and module esp_rtc_timer_32k #18334

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cpu/esp32/Makefile.dep
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ ifneq (,$(filter esp_idf_wifi,$(USEMODULE)))
USEMODULE += esp_idf_adc
endif

ifneq (,$(filter periph_rtc,$(USEMODULE)))
ifneq (,$(filter periph_rtt,$(USEMODULE)))
FEATURES_OPTIONAL += esp_rtc_timer_32k
endif

Expand Down
2 changes: 1 addition & 1 deletion cpu/esp32/periph/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ if TEST_KCONFIG
config MODULE_ESP_RTC_TIMER_32K
bool
depends on HAS_ESP_RTC_TIMER_32K
default y if MODULE_PERIPH_RTC
default y if MODULE_PERIPH_RTT
help
Use RTC timer with external 32.768 kHz crystal as RTT.

Expand Down