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

Merge pull request #17427 from gschorcht/cpu/esp8266/fix_ztimer_esp_wifi_problem

cpu/esp8266: fix problems with ESP WiFi and migration to ztimer
This commit is contained in:
benpicco 2021-12-21 14:22:53 +01:00 committed by GitHub
commit f9e3196a54
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 1 deletions

View File

@ -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

View File

@ -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

View File

@ -242,7 +242,7 @@ SECTIONS
*freertos/*(.literal .text .literal.* .text.*)
*freertos_common/*(.literal .text .literal.* .text.*)
*periph/*(.literal .text .literal.* .text.*)
*ztimer/*(.literal .text .literal.* .text.*)
*ztimer_core/*(.literal .text .literal.* .text.*)
*libhal.a:clock.o(.literal .text .literal.* .text.*)
*libhal.a:int_asm--set_intclear.o(.literal .text .literal.* .text.*)