Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/ClusterM/flipperzero-firmware.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDrZlo13 <who.just.the.doctor@gmail.com>2021-01-11 17:52:35 +0300
committerGitHub <noreply@github.com>2021-01-11 17:52:35 +0300
commitf94633863cc7811c5270f7e2fef00331cec5fc26 (patch)
tree94fd86eb94b8bc5f4fe3707711778dfa606a9346 /applications/applications.h
parent69281226506cc8a4cb66866f06cf2464d6cf21fa (diff)
[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
Diffstat (limited to 'applications/applications.h')
-rw-r--r--applications/applications.h12
1 files changed, 10 insertions, 2 deletions
diff --git a/applications/applications.h b/applications/applications.h
index 8395d52b..1b80891f 100644
--- a/applications/applications.h
+++ b/applications/applications.h
@@ -41,6 +41,7 @@ void cli_task(void* p);
void music_player(void* p);
void sdnfc(void* p);
void floopper_bloopper(void* p);
+void sd_filesystem(void* p);
const FlipperStartupApp FLIPPER_STARTUP[] = {
#ifdef APP_DISPLAY
@@ -88,6 +89,13 @@ const FlipperStartupApp FLIPPER_STARTUP[] = {
.icon = A_Plugins_14},
#endif
+#ifdef APP_SD_FILESYSTEM
+ {.app = sd_filesystem,
+ .name = "sd_filesystem",
+ .libs = {1, FURI_LIB{"menu_task"}},
+ .icon = A_Plugins_14},
+#endif
+
#ifdef APP_DOLPHIN
{.app = dolphin_task,
.name = "dolphin_task",
@@ -165,7 +173,7 @@ const FlipperStartupApp FLIPPER_STARTUP[] = {
#ifdef APP_SD_TEST
{.app = sd_card_test,
.name = "sd_card_test",
- .libs = {1, FURI_LIB{"gui_task"}},
+ .libs = {2, FURI_LIB{"gui_task", "sd_filesystem"}},
.icon = A_Plugins_14},
#endif
@@ -257,7 +265,7 @@ const FlipperStartupApp FLIPPER_PLUGINS[] = {
#ifdef BUILD_SD_TEST
{.app = sd_card_test,
.name = "sd_card_test",
- .libs = {1, FURI_LIB{"gui_task"}},
+ .libs = {2, FURI_LIB{"gui_task", "sd_filesystem"}},
.icon = A_Plugins_14},
#endif