1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-18 05:52:43 +01:00
RIOT/cpu/esp32/esp-idf/Makefile

50 lines
880 B
Makefile
Raw Normal View History

MODULE=esp_idf
export ESP_IDF_PATH = $(shell pwd)
# 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