421a0f6b97
* 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
23 lines
449 B
C
23 lines
449 B
C
#include "loader.h"
|
|
|
|
#include <furi.h>
|
|
#include <api-hal.h>
|
|
#include <cli/cli.h>
|
|
#include <menu/menu.h>
|
|
#include <menu/menu_item.h>
|
|
#include <applications.h>
|
|
#include <assets_icons.h>
|
|
|
|
#define LOADER_LOG_TAG "loader"
|
|
|
|
struct Loader {
|
|
FuriThread* thread;
|
|
const FlipperApplication* current_app;
|
|
string_t args;
|
|
Cli* cli;
|
|
ValueMutex* menu_vm;
|
|
size_t free_heap_size;
|
|
osMutexId_t mutex;
|
|
volatile uint8_t lock_semaphore;
|
|
};
|