startup.h 558 B

12345678910111213141516171819202122232425262728
  1. #pragma once
  2. #include "furi.h"
  3. typedef struct {
  4. FlipperApplication app;
  5. const char* name;
  6. } FlipperStartupApp;
  7. #ifdef TEST
  8. void flipper_test_app(void* p);
  9. #endif
  10. void application_blink(void* p);
  11. void application_uart_write(void* p);
  12. const FlipperStartupApp FLIPPER_STARTUP[] = {
  13. #ifdef TEST
  14. {.app = flipper_test_app, .name = "test app"},
  15. #endif
  16. #ifdef EXAMPLE_BLINK
  17. {.app = application_blink, .name = "blink"},
  18. #endif
  19. #ifdef EXAMPLE_UART_WRITE
  20. {.app = application_uart_write, .name = "uart write"},
  21. #endif
  22. };