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:
		
							
								
								
									
										15
									
								
								core/furi.h
									
									
									
									
									
								
							
							
						
						
									
										15
									
								
								core/furi.h
									
									
									
									
									
								
							@@ -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.
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user