diff --git a/app/include/app.h b/app/include/app.h index 19ac3b2e..aee01f53 100644 --- a/app/include/app.h +++ b/app/include/app.h @@ -40,7 +40,7 @@ struct app_descriptor { size_t stack_size; }; -#define APP_START(appname) const struct app_descriptor _app_##appname __ALIGNED(sizeof(void *)) __SECTION("apps") = { .name = #appname, +#define APP_START(appname) const struct app_descriptor _app_##appname __USED __ALIGNED(sizeof(void *)) __SECTION("apps") = { .name = #appname, #define APP_END };