mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
cpu/esp8266: RTT is used by the WiFi Interface
If the WiFi interface is enabled by module `esp_wifi_any`, binary SDK libraries use the RTT. Therefore, `ztimer` must not use `periph_rtt`as backend, if the WiFi interface is enabled by module `esp_wifi_any`.
This commit is contained in:
parent
ae8713fea8
commit
48f59a1487
@ -29,6 +29,7 @@ config CPU_FAM_ESP8266
|
||||
select MODULE_ESP_SDK if TEST_KCONFIG
|
||||
select MODULE_PERIPH_COMMON if TEST_KCONFIG
|
||||
select MODULE_RTT_RTC if HAS_PERIPH_RTT && MODULE_PERIPH_RTC
|
||||
select MODULE_ZTIMER_NO_PERIPH_RTT if MODULE_ESP_WIFI_ANY
|
||||
|
||||
## CPU Models
|
||||
config CPU_MODEL_ESP8266EX
|
||||
|
@ -23,3 +23,8 @@ endif
|
||||
ifneq (,$(filter periph_rtc,$(USEMODULE)))
|
||||
USEMODULE += rtt_rtc
|
||||
endif
|
||||
|
||||
ifneq (,$(filter esp_wifi_any,$(USEMODULE)))
|
||||
# avoid that ztimer_periph_rtt is used as backend
|
||||
USEMODULE += ztimer_no_periph_rtt
|
||||
endif
|
||||
|
Loading…
Reference in New Issue
Block a user