cpu/esp32: do not expand USEMODULE
This commit is contained in:
parent
ca74a57870
commit
252c3886b0
1
boards/esp32-wemos-lolin-d32-pro/Makefile.default
Normal file
1
boards/esp32-wemos-lolin-d32-pro/Makefile.default
Normal file
@ -0,0 +1 @@
|
|||||||
|
DEFAULT_MODULE += esp_spi_ram
|
||||||
@ -1,3 +1 @@
|
|||||||
USEMODULE += esp_spi_ram
|
|
||||||
|
|
||||||
include $(RIOTBOARD)/common/esp32/Makefile.dep
|
include $(RIOTBOARD)/common/esp32/Makefile.dep
|
||||||
|
|||||||
@ -66,10 +66,6 @@ ifneq (,$(filter periph_i2c,$(USEMODULE)))
|
|||||||
endif
|
endif
|
||||||
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)))
|
ifneq (,$(filter esp_now esp_wifi esp_spi_ram,$(USEMODULE)))
|
||||||
# the ESP-IDF heap has to be used if SPI RAM is used
|
# the ESP-IDF heap has to be used if SPI RAM is used
|
||||||
USEMODULE += esp_idf_heap
|
USEMODULE += esp_idf_heap
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user