cpu/esp32: do not expand USEMODULE

This commit is contained in:
Leandro Lanzieri 2021-11-17 13:41:32 +01:00
parent ca74a57870
commit 252c3886b0
No known key found for this signature in database
GPG Key ID: F4E9A721761C7593
3 changed files with 1 additions and 6 deletions

View File

@ -0,0 +1 @@
DEFAULT_MODULE += esp_spi_ram

View File

@ -1,3 +1 @@
USEMODULE += esp_spi_ram
include $(RIOTBOARD)/common/esp32/Makefile.dep

View File

@ -66,10 +66,6 @@ ifneq (,$(filter periph_i2c,$(USEMODULE)))
endif
endif
ifneq (,$(filter esp_spi_ram,$(DISABLE_MODULE)))
USEMODULE := $(filter-out esp_spi_ram,$(USEMODULE))
endif
ifneq (,$(filter esp_now esp_wifi esp_spi_ram,$(USEMODULE)))
# the ESP-IDF heap has to be used if SPI RAM is used
USEMODULE += esp_idf_heap