2022-02-01 21:34:23 +01:00
|
|
|
MODULE = esp_idf_efuse
|
|
|
|
|
|
|
|
# source files to be compiled for this module
|
|
|
|
ESP32_SDK_SRC = \
|
2022-07-18 10:45:23 +02:00
|
|
|
components/efuse/$(CPU_FAM)/esp_efuse_fields.c \
|
|
|
|
components/efuse/$(CPU_FAM)/esp_efuse_table.c \
|
|
|
|
components/efuse/$(CPU_FAM)/esp_efuse_utility.c \
|
2022-02-01 21:34:23 +01:00
|
|
|
components/efuse/src/esp_efuse_api.c \
|
|
|
|
components/efuse/src/esp_efuse_utility.c \
|
|
|
|
components/esp_hw_support/mac_addr.c \
|
|
|
|
#
|
|
|
|
|
2022-07-18 10:45:23 +02:00
|
|
|
ifneq (,$(filter esp32,$(CPU_FAM)))
|
2022-02-01 21:34:23 +01:00
|
|
|
ESP32_SDK_SRC += components/efuse/src/esp_efuse_api_key_esp32.c
|
|
|
|
else
|
|
|
|
ESP32_SDK_SRC += components/efuse/src/esp_efuse_api_key_esp32xx.c
|
|
|
|
endif
|
|
|
|
|
|
|
|
# additional include pathes required by this module
|
|
|
|
INCLUDES += -I$(ESP32_SDK_DIR)/components/efuse/include
|
|
|
|
INCLUDES += -I$(ESP32_SDK_DIR)/components/efuse/private_include
|
2022-07-18 10:45:23 +02:00
|
|
|
INCLUDES += -I$(ESP32_SDK_DIR)/components/efuse/$(CPU_FAM)/private_include
|
2022-02-01 21:34:23 +01:00
|
|
|
|
|
|
|
include $(RIOTBASE)/Makefile.base
|
|
|
|
|
|
|
|
ESP32_SDK_BIN = $(BINDIR)/$(MODULE)
|
|
|
|
|
|
|
|
include ../esp_idf.mk
|
|
|
|
include ../esp_idf_cflags.mk
|