Simple sd card driver (#162)

* fixed inline functions for modern C standart

* more stack for application

* added library

* init fatfs library

* fatfs example application

* Merge with current master

* fix typo and delete old files

* cmsis os 2 reentrance fix

* Reworked dependency wait to support multiple dependency

* Build FatFS on local target, syscall.c is target-specific.

* run local target ok

* testcase for fatfs

Co-authored-by: aanper <mail@s3f.ru>
This commit is contained in:
DrZlo13
2020-10-09 00:37:19 +10:00
committed by GitHub
parent 2ab6f82ddf
commit 59513b05ee
43 changed files with 41377 additions and 39 deletions

View File

@@ -63,6 +63,19 @@ typedef struct {
bool ready;
} FuriApp;
// application dependency info
typedef struct {
uint8_t count;
const char** name;
} FlipperAppLibrary;
// application startup info
typedef struct {
FlipperApplication app;
const char* name;
FlipperAppLibrary libs;
} FlipperStartupApp;
/*!
Simply starts application.
It call app entrypoint with param passed as argument.
@@ -95,7 +108,7 @@ void furiac_ready();
/*
Wait for the libraries we depend on
*/
void furiac_wait_libs(const char* libs);
void furiac_wait_libs(const FlipperAppLibrary* libs);
/*!
Stop specified app without returning to prev application.