Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/ClusterM/flipperzero-firmware.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorあく <alleteam@gmail.com>2020-11-16 13:16:34 +0300
committerGitHub <noreply@github.com>2020-11-16 13:16:34 +0300
commit3749eb0eed6b6e7d59b2cbc5f8cdafda47e72cd9 (patch)
tree96fdd026c0800315b10eabc350a5a4a634a3ead3 /applications/applications.h
parent466ea087a0f2cb684b0fdfec46444344088c4926 (diff)
USB VCP Cli (#237)
* Core: ring buffer. * Api: usb vcp. F3: vcp glue code. * Applications: cli draft version. * Cli: basic working version, includes help and version commands * HAL: vcp on f2 * Makefile: update openocd conf * F3: vcp rx with freertos stream * Cli: help * Cli: standard commands, api-hal-uid * Power: cli poweroff.
Diffstat (limited to 'applications/applications.h')
-rw-r--r--applications/applications.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/applications/applications.h b/applications/applications.h
index 8c9018e0..1af3f23f 100644
--- a/applications/applications.h
+++ b/applications/applications.h
@@ -35,12 +35,17 @@ void power_task(void* p);
void sd_card_test(void* p);
void application_vibro(void* p);
void app_gpio_test(void* p);
+void cli_task(void* p);
const FlipperStartupApp FLIPPER_STARTUP[] = {
#ifdef APP_DISPLAY
{.app = display_u8g2, .name = "display_u8g2", .libs = {0}},
#endif
+#ifdef APP_CLI
+ {.app = cli_task, .name = "cli_task", .libs = {0}},
+#endif
+
#ifdef APP_EXAMPLE_BLINK
{.app = application_blink, .name = "blink", .libs = {1, FURI_LIB{"input_task"}}},
#endif
@@ -68,7 +73,7 @@ const FlipperStartupApp FLIPPER_STARTUP[] = {
#endif
#ifdef APP_POWER
- {.app = power_task, .name = "power_task", .libs = {1, FURI_LIB{"gui_task"}}},
+ {.app = power_task, .name = "power_task", .libs = {2, FURI_LIB{"cli_task", "gui_task"}}},
#endif
#ifdef APP_CC1101