From 3916db0fd4f8edc25aa4eb259ae29a7e476a1794 Mon Sep 17 00:00:00 2001 From: Francisco Molina Date: Thu, 28 Apr 2022 08:30:55 +0200 Subject: [PATCH] cpu/esp32: always include libc_gettimeofday (cherry picked from commit a4bbb743715942731ad9c92077cef3e012720576) --- cpu/esp32/Kconfig | 1 + cpu/esp32/Makefile.dep | 2 ++ 2 files changed, 3 insertions(+) diff --git a/cpu/esp32/Kconfig b/cpu/esp32/Kconfig index 817703ba0e39..8828e3f88cc5 100644 --- a/cpu/esp32/Kconfig +++ b/cpu/esp32/Kconfig @@ -30,6 +30,7 @@ config CPU_FAM_ESP32 select MODULE_RTT_RTC if HAS_PERIPH_RTT && MODULE_PERIPH_RTC select MODULE_PS if MODULE_SHELL select MODULE_PTHREAD if MODULE_LIBSTDCPP && TEST_KCONFIG + select MODULE_LIBC_GETTIMEOFDAY if TEST_KCONFIG imply MODULE_NEWLIB_NANO ## CPU Models diff --git a/cpu/esp32/Makefile.dep b/cpu/esp32/Makefile.dep index 98df4ddd085d..0173d13ca722 100644 --- a/cpu/esp32/Makefile.dep +++ b/cpu/esp32/Makefile.dep @@ -107,3 +107,5 @@ endif ifneq (,$(filter esp_jtag,$(USEMODULE))) FEATURES_REQUIRED += esp_jtag endif + +USEMODULE += libc_gettimeofday