1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-18 12:52:44 +01:00
RIOT/cpu/esp32/esp-idf/nvs_flash/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

31 lines
1013 B
Makefile

MODULE = esp_idf_nvs_flash
# source files to be compiled for this module
ESP32_SDK_SRCXX = \
components/nvs_flash/src/nvs_api.cpp \
components/nvs_flash/src/nvs_cxx_api.cpp \
components/nvs_flash/src/nvs_handle_locked.cpp \
components/nvs_flash/src/nvs_handle_simple.cpp \
components/nvs_flash/src/nvs_item_hash_list.cpp \
components/nvs_flash/src/nvs_page.cpp \
components/nvs_flash/src/nvs_pagemanager.cpp \
components/nvs_flash/src/nvs_partition.cpp \
components/nvs_flash/src/nvs_partition_lookup.cpp \
components/nvs_flash/src/nvs_partition_manager.cpp \
components/nvs_flash/src/nvs_storage.cpp \
components/nvs_flash/src/nvs_types.cpp \
#
# additional include pathes required by this module
INCLUDES += -I$(ESP32_SDK_DIR)/components/esp_rom/include
include $(RIOTBASE)/Makefile.base
ESP32_SDK_BIN = $(BINDIR)/$(MODULE)
include ../esp_idf.mk
# vendor code contains casts that increase alignment requirements. Let's hope
# those are false positives.
CFLAGS += -Wno-cast-align