mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-04-25 03:29:58 -07:00
(Experimental) External CLI plugins -29kb DFU
Idea and plugin loader implementation by @akopachov, thanks! All commands done except storage and rpc for latency reasons
This commit is contained in:
@@ -222,3 +222,15 @@ void input_cli(Cli* cli, FuriString* args, void* context) {
|
||||
|
||||
furi_string_free(cmd);
|
||||
}
|
||||
|
||||
#include <flipper_application/flipper_application.h>
|
||||
|
||||
static const FlipperAppPluginDescriptor plugin_descriptor = {
|
||||
.appid = "input_cli",
|
||||
.ep_api_version = 1,
|
||||
.entry_point = &input_cli,
|
||||
};
|
||||
|
||||
const FlipperAppPluginDescriptor* input_cli_plugin_ep() {
|
||||
return &plugin_descriptor;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user