basic application support

This commit is contained in:
Ken Van Hoeylandt
2023-12-25 17:53:58 +01:00
parent 7886d5c2f9
commit e6525364c6
21 changed files with 341 additions and 122 deletions
+20
View File
@@ -0,0 +1,20 @@
#include <nanobake.h>
// Hardware
#include <board_2432s024_touch.h>
#include <board_2432s024_display.h>
// Apps
#include "hello_world/hello_world.h"
void app_main(void) {
static nb_platform_config_t platform_config = {
.display_driver = &board_2432s024_create_display_driver,
.touch_driver = &board_2432s024_create_touch_driver,
.apps = {
&hello_world_app_config
}
};
nanobake_run(&platform_config);
}