diff --git a/cpu/esp_common/Makefile.dep b/cpu/esp_common/Makefile.dep index 58c80f4b85..2868cc3e29 100644 --- a/cpu/esp_common/Makefile.dep +++ b/cpu/esp_common/Makefile.dep @@ -1,5 +1,21 @@ # additional modules dependencies +# Modules used by ESP* + +USEMODULE += esp_common +USEMODULE += esp_common_periph +USEMODULE += esp_freertos +USEMODULE += esp_idf +USEMODULE += log +USEMODULE += newlib +USEMODULE += periph +USEMODULE += periph_hwrng +USEMODULE += periph_flash +USEMODULE += periph_uart +USEMODULE += random +USEMODULE += stdio_uart +USEMODULE += xtensa + # each device has SPI flash memory, but it has to be enabled explicitly ifneq (,$(filter esp_spiffs,$(USEMODULE))) USEMODULE += spiffs diff --git a/cpu/esp_common/Makefile.include b/cpu/esp_common/Makefile.include index 5003ba7fc1..e6a40f8cc8 100644 --- a/cpu/esp_common/Makefile.include +++ b/cpu/esp_common/Makefile.include @@ -49,22 +49,6 @@ PSEUDOMODULES += esp_qemu PSEUDOMODULES += esp_spiffs PSEUDOMODULES += esp_wifi_any -# Modules used by ESP* - -USEMODULE += esp_common -USEMODULE += esp_common_periph -USEMODULE += esp_freertos -USEMODULE += esp_idf -USEMODULE += log -USEMODULE += newlib -USEMODULE += periph -USEMODULE += periph_hwrng -USEMODULE += periph_flash -USEMODULE += periph_uart -USEMODULE += random -USEMODULE += stdio_uart -USEMODULE += xtensa - # Common includes INCLUDES += -I$(RIOTBOARD)/common/$(CPU)/include