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-08-26 01:56:33 +00:00
|
|
|
|
2020-08-24 15:31:22 +00:00
|
|
|
const FlipperStartupApp FLIPPER_STARTUP[] = {
|
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-08-24 15:31:22 +00:00
|
|
|
};
|