Skip to content

Commit

Permalink
cpu/esp32: always include libc_gettimeofday
Browse files Browse the repository at this point in the history
(cherry picked from commit a4bbb74)
  • Loading branch information
fjmolinas authored and benpicco committed Apr 28, 2022
1 parent bd24c5a commit 3916db0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions cpu/esp32/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions cpu/esp32/Makefile.dep
Original file line number Diff line number Diff line change
Expand Up @@ -107,3 +107,5 @@ endif
ifneq (,$(filter esp_jtag,$(USEMODULE)))
FEATURES_REQUIRED += esp_jtag
endif

USEMODULE += libc_gettimeofday

0 comments on commit 3916db0

Please sign in to comment.