[FL-977] Internal Storage (#455)
* Add littlefs submodule * Furi: add mutex in logging, fix issues with corrupted printf * ApiHal: disable debug traces in ble glue * App-loader: more logs * Passport: fix invalid DolphinState usage * ApiHal, linker script: flash API is now aware of free space, complete abstraction layer for storage * Internal Storage: littlefs based storage services with key value API. Migrate dolphin state to new storage API.
This commit is contained in:
@@ -36,6 +36,13 @@ C_SOURCES += $(FATFS_DIR)/ff_gen_drv.c
|
||||
C_SOURCES += $(FATFS_DIR)/diskio.c
|
||||
C_SOURCES += $(FATFS_DIR)/option/unicode.c
|
||||
|
||||
ifeq ($(SRV_INTERNAL_STORAGE), 1)
|
||||
LITTLEFS_DIR = $(LIB_DIR)/littlefs
|
||||
CFLAGS += -I$(LITTLEFS_DIR)
|
||||
C_SOURCES += $(LITTLEFS_DIR)/lfs.c
|
||||
C_SOURCES += $(LITTLEFS_DIR)/lfs_util.c
|
||||
endif
|
||||
|
||||
ifeq ($(APP_NFC), 1)
|
||||
ST25RFAL002_DIR = $(LIB_DIR)/ST25RFAL002
|
||||
CFLAGS += -I$(ST25RFAL002_DIR)
|
||||
|
Reference in New Issue
Block a user