1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/cpu/esp32/esp-idf/Makefile
Gunar Schorcht 751a958529 cpu/esp32: add modules for compilation of required ESP-IDF code
The code required by the ESP-IDF is compiled directly from source in the `esp32_sdk` package. The compilation is structured by modules for easier use.
2022-06-01 13:21:29 +02:00

48 lines
844 B
Makefile

MODULE=esp_idf
# Add a list of subdirectories, that should also be built:
DIRS += common
ifneq (,$(filter esp_idf_efuse,$(USEMODULE)))
DIRS += efuse
endif
ifneq (,$(filter esp_idf_eth,$(USEMODULE)))
DIRS += eth
endif
ifneq (,$(filter esp_idf_event,$(USEMODULE)))
DIRS += event
endif
ifneq (,$(filter esp_idf_gpio,$(USEMODULE)))
DIRS += gpio
endif
ifneq (,$(filter esp_idf_heap,$(USEMODULE)))
DIRS += heap
endif
ifneq (,$(filter esp_idf_nvs_flash,$(USEMODULE)))
DIRS += nvs_flash
endif
ifneq (,$(filter esp_idf_spi_flash,$(USEMODULE)))
DIRS += spi_flash
endif
ifneq (,$(filter esp_idf_spi_ram,$(USEMODULE)))
DIRS += spi_ram
endif
ifneq (,$(filter esp_idf_wifi,$(USEMODULE)))
DIRS += wifi
endif
ifneq (,$(filter esp_idf_wpa_supplicant,$(USEMODULE)))
DIRS += wpa_supplicant
endif
include $(RIOTBASE)/Makefile.base