[FL-1546, FL-1534, FL-1550] Drop F5, Certification preparation, Global application start lock (#585)
* Firmware: drop F5 target * Rename app-loader to loader * Update code owners file * Loader: global application start lock API, minor refactoring * Archive: update loader usage * Cli: Command flags, global application start lock * Apps: update cli API usage * Bootloader: minor refactoring * Firmware: minor build refactoring * SubGhz: GUI packet test * SubGhz: drop packet transmission and unused presets * Github: drop F5 from build * Archive: favorites * Archive: a little bit more of Favorites
This commit is contained in:
20
applications/loader/loader.h
Normal file
20
applications/loader/loader.h
Normal file
@@ -0,0 +1,20 @@
|
||||
#pragma once
|
||||
|
||||
#include <stdbool.h>
|
||||
|
||||
typedef struct Loader Loader;
|
||||
|
||||
/** Start application
|
||||
* @param name - application name
|
||||
* @param args - application arguments
|
||||
* @retval true on success
|
||||
*/
|
||||
bool loader_start(Loader* instance, const char* name, const char* args);
|
||||
|
||||
/** Lock application start
|
||||
* @retval true on success
|
||||
*/
|
||||
bool loader_lock(Loader* instance);
|
||||
|
||||
/** Unlock application start */
|
||||
void loader_unlock(Loader* instance);
|
Reference in New Issue
Block a user