2020-08-24 15:31:22 +00:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include "furi.h"
|
|
|
|
|
|
|
|
typedef struct {
|
|
|
|
FlipperApplication app;
|
|
|
|
const char* name;
|
|
|
|
} FlipperStartupApp;
|
|
|
|
|
2020-08-26 01:56:33 +00:00
|
|
|
#ifdef TEST
|
|
|
|
void flipper_test_app(void* p);
|
|
|
|
#endif
|
|
|
|
|
|
|
|
void application_blink(void* p);
|
2020-08-26 18:32:22 +00:00
|
|
|
void application_uart_write(void* p);
|
2020-09-01 10:34:23 +00:00
|
|
|
void application_ipc_display(void* p);
|
|
|
|
void application_ipc_widget(void* p);
|
2020-08-26 01:56:33 +00:00
|
|
|
|
2020-09-09 16:12:09 +00:00
|
|
|
void display_u8g2(void* p);
|
|
|
|
|
|
|
|
void u8g2_example(void* p);
|
|
|
|
|
2020-09-09 16:54:21 +00:00
|
|
|
void coreglitch_demo_0(void* p);
|
|
|
|
|
2020-08-24 15:31:22 +00:00
|
|
|
const FlipperStartupApp FLIPPER_STARTUP[] = {
|
2020-09-09 16:12:09 +00:00
|
|
|
#ifndef TEST
|
|
|
|
{.app = display_u8g2, .name = "display_u8g2"},
|
|
|
|
{.app = u8g2_example, .name = "u8g2_example"},
|
|
|
|
#endif
|
2020-09-09 16:54:21 +00:00
|
|
|
|
|
|
|
// {.app = coreglitch_demo_0, .name = "coreglitch_demo_0"},
|
2020-09-09 16:12:09 +00:00
|
|
|
|
2020-08-26 01:56:33 +00:00
|
|
|
#ifdef TEST
|
|
|
|
{.app = flipper_test_app, .name = "test app"},
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef EXAMPLE_BLINK
|
|
|
|
{.app = application_blink, .name = "blink"},
|
|
|
|
#endif
|
2020-08-26 18:32:22 +00:00
|
|
|
#ifdef EXAMPLE_UART_WRITE
|
|
|
|
{.app = application_uart_write, .name = "uart write"},
|
|
|
|
#endif
|
2020-09-01 10:34:23 +00:00
|
|
|
#ifdef EXAMPLE_IPC
|
|
|
|
{.app = application_ipc_display, .name = "ipc display"},
|
|
|
|
{.app = application_ipc_widget, .name = "ipc widget"},
|
|
|
|
#endif
|
2020-08-24 15:31:22 +00:00
|
|
|
};
|