created ServiceManifest (#5)

based on AppManifest
This commit is contained in:
Ken Van Hoeylandt
2024-01-05 19:38:39 +01:00
committed by GitHub
parent 3b9986fcef
commit e842e30ab3
39 changed files with 134 additions and 352 deletions
+2 -2
View File
@@ -1,6 +1,6 @@
#include "hello_world.h"
#include "apps/services/gui/gui.h"
#include "apps/services/loader/loader.h"
#include "services/gui/gui.h"
#include "services/loader/loader.h"
static void app_show(lv_obj_t* parent, void* context) {
UNUSED(context);
+5 -2
View File
@@ -8,9 +8,12 @@ __attribute__((unused)) void app_main(void) {
static const Config config = {
.hardware = NB_BOARD_HARDWARE,
.apps = {
&hello_world_app
&hello_world_app,
NULL // NULL terminator - do not remove
},
.services = {
NULL // NULL terminator - do not remove
},
.apps_count = 1
};
nanobake_start(&config);