cleanup and improvements

improved driver creation
fixed compile warnings in check.h
hello_world example is now working again with lvgl
This commit is contained in:
Ken Van Hoeylandt
2023-12-26 23:04:40 +01:00
parent 25b0aa09e2
commit 88c5c55be3
20 changed files with 138 additions and 108 deletions
+4 -3
View File
@@ -8,13 +8,14 @@
#include "hello_world/hello_world.h"
void app_main(void) {
static nb_config_t platform_config = {
static nb_config_t config = {
.display_driver = &board_2432s024_create_display_driver,
.touch_driver = &board_2432s024_create_touch_driver,
.apps = {
&hello_world_app
}
},
.apps_count = 1
};
nanobake_start(&platform_config);
nanobake_start(&config);
}