[FL-520] Filesystem Api and App (#280)
* update fatfs integer types * fix sector size to 512 * fix sector size calculation * common fs api * fs api realization (sd card + fat fs) * better sector size definition * more api realization fns * add error description api, add common api * fix api flag naming, run app * add fs_info call * disable fatfs strfuncs, enable fatfs chmod * rework filesystem app * sd detect cycle, sd menu, sd eject feature * fix sd detect cycle * sd card format routine * ui improvements, sd info routine * properly unmount card * separate mode flags * add api folder, move app, rename app * fix api naming * update st-card-test to use api * update path to app * fixed potential problem of using sizeof union * updated api documentation, new time/date fns * update codeowners * changed app requirements * changed app order * sd insert/remove log
This commit is contained in:
@@ -13,6 +13,7 @@ APP_NFC = 1
|
||||
APP_POWER = 1
|
||||
APP_BT = 1
|
||||
APP_CLI = 1
|
||||
APP_SD_FILESYSTEM = 1
|
||||
BUILD_IRDA = 1
|
||||
APP_DOLPHIN = 1
|
||||
BUILD_EXAMPLE_BLINK = 1
|
||||
@@ -220,6 +221,7 @@ CFLAGS += -DBUILD_SD_TEST
|
||||
CPP_SOURCES += $(wildcard $(APP_DIR)/sd-card-test/*.cpp)
|
||||
APP_INPUT = 1
|
||||
APP_GUI = 1
|
||||
APP_SD_FILESYSTEM = 1
|
||||
endif
|
||||
|
||||
APP_SPEAKER_DEMO ?= 0
|
||||
@@ -305,6 +307,12 @@ C_SOURCES += $(wildcard $(APP_DIR)/gui/*.c)
|
||||
C_SOURCES += $(wildcard $(APP_DIR)/backlight-control/*.c)
|
||||
endif
|
||||
|
||||
APP_SD_FILESYSTEM ?= 0
|
||||
ifeq ($(APP_SD_FILESYSTEM), 1)
|
||||
CFLAGS += -DAPP_SD_FILESYSTEM
|
||||
C_SOURCES += $(wildcard $(APP_DIR)/sd-filesystem/*.c)
|
||||
endif
|
||||
|
||||
# deprecated
|
||||
ifeq ($(APP_DISPLAY), 1)
|
||||
CFLAGS += -DAPP_DISPLAY
|
||||
|
||||
Reference in New Issue
Block a user