cpu/esp32: Remove special module dependency resolution

This commit is contained in:
Leandro Lanzieri 2020-03-09 17:30:50 +01:00
parent fa419ecf8e
commit 584d03aae0
No known key found for this signature in database
GPG Key ID: 39607DE6080007A3

View File

@ -18,14 +18,6 @@ FLASH_FREQ = 40m # DO NOT CHANGE
FLASH_SIZE ?= 4 FLASH_SIZE ?= 4
BOOTLOADER_POS = 0x1000 BOOTLOADER_POS = 0x1000
# SPECIAL module dependencies
# cannot be done in Makefile.dep since Makefile.dep is included too late
ifneq (,$(filter esp_now esp_wifi esp_spi_ram,$(USEMODULE)))
# the ESP-IDF heap has to be used if any WiFi interface or SPI RAM is used
USEMODULE += esp_idf_heap
endif
include $(RIOTCPU)/esp_common/Makefile.include include $(RIOTCPU)/esp_common/Makefile.include
# regular Makefile # regular Makefile