mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-18 12:52:44 +01:00
751a958529
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.
31 lines
1013 B
Makefile
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
|