2022-02-01 21:34:23 +01:00
|
|
|
MODULE=esp_idf
|
|
|
|
|
2022-03-10 15:34:19 +01:00
|
|
|
export ESP_IDF_PATH = $(shell pwd)
|
|
|
|
|
2022-02-01 21:34:23 +01:00
|
|
|
# Add a list of subdirectories, that should also be built:
|
|
|
|
|
2022-03-09 18:14:35 +01:00
|
|
|
ifneq (,$(filter esp_idf_adc,$(USEMODULE)))
|
|
|
|
DIRS += adc
|
|
|
|
endif
|
|
|
|
|
2022-08-11 10:05:59 +02:00
|
|
|
ifneq (,$(filter esp_idf_ble,$(USEMODULE)))
|
|
|
|
DIRS += ble
|
|
|
|
endif
|
|
|
|
|
2022-06-18 18:57:19 +02:00
|
|
|
ifneq (,$(filter esp_idf_common,$(USEMODULE)))
|
|
|
|
DIRS += common
|
|
|
|
endif
|
2022-02-01 21:34:23 +01:00
|
|
|
|
|
|
|
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
|
|
|
|
|
2023-08-02 18:59:58 +02:00
|
|
|
ifneq (,$(filter esp_idf_lcd,$(USEMODULE)))
|
|
|
|
DIRS += lcd
|
|
|
|
endif
|
|
|
|
|
2022-02-01 21:34:23 +01:00
|
|
|
ifneq (,$(filter esp_idf_nvs_flash,$(USEMODULE)))
|
|
|
|
DIRS += nvs_flash
|
|
|
|
endif
|
|
|
|
|
2023-03-26 18:32:27 +02:00
|
|
|
ifneq (,$(filter esp_idf_rmt,$(USEMODULE)))
|
|
|
|
DIRS += rmt
|
|
|
|
endif
|
|
|
|
|
2023-06-28 17:31:54 +02:00
|
|
|
ifneq (,$(filter esp_idf_sdmmc,$(USEMODULE)))
|
|
|
|
DIRS += sdmmc
|
|
|
|
endif
|
|
|
|
|
2022-02-01 21:34:23 +01:00
|
|
|
ifneq (,$(filter esp_idf_spi_flash,$(USEMODULE)))
|
|
|
|
DIRS += spi_flash
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifneq (,$(filter esp_idf_spi_ram,$(USEMODULE)))
|
|
|
|
DIRS += spi_ram
|
|
|
|
endif
|
|
|
|
|
2022-09-14 09:22:59 +02:00
|
|
|
ifneq (,$(filter esp_idf_usb,$(USEMODULE)))
|
|
|
|
DIRS += usb
|
|
|
|
endif
|
|
|
|
|
2022-02-01 21:34:23 +01:00
|
|
|
ifneq (,$(filter esp_idf_wifi,$(USEMODULE)))
|
|
|
|
DIRS += wifi
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifneq (,$(filter esp_idf_wpa_supplicant,$(USEMODULE)))
|
|
|
|
DIRS += wpa_supplicant
|
|
|
|
endif
|
|
|
|
|
|
|
|
include $(RIOTBASE)/Makefile.base
|