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:
authorあく <alleteam@gmail.com>2021-05-11 11:29:44 +0300
committerGitHub <noreply@github.com>2021-05-11 11:29:44 +0300
commitaa24484b99495bd9ce5447b1c4e25efbe3c86360 (patch)
tree9b07ae10c9654552e301cccb705a79b31afb4bba /applications/applications.c
parent29d10e1b0a8b37f6da93cbcee23b37514a036d23 (diff)
[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.
Diffstat (limited to 'applications/applications.c')
-rw-r--r--applications/applications.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/applications/applications.c b/applications/applications.c
index 1647ccf1..a0db6487 100644
--- a/applications/applications.c
+++ b/applications/applications.c
@@ -34,6 +34,7 @@ int32_t keypad_test(void* p);
int32_t scene_app(void* p);
int32_t passport(void* p);
int32_t app_accessor(void* p);
+int32_t internal_storage_task(void* p);
// On system start hooks declaration
void nfc_cli_init();
@@ -73,6 +74,13 @@ const FlipperApplication FLIPPER_SERVICES[] = {
{.app = sd_filesystem, .name = "sd_filesystem", .stack_size = 4096, .icon = A_Plugins_14},
#endif
+#ifdef SRV_INTERNAL_STORAGE
+ {.app = internal_storage_task,
+ .name = "internal_storage",
+ .stack_size = 2048,
+ .icon = A_Plugins_14},
+#endif
+
#ifdef SRV_DOLPHIN
{.app = dolphin_task, .name = "dolphin_task", .stack_size = 1024, .icon = A_Plugins_14},
#endif