* Implemented LVGL with SDL for simulator * cleanup * added SDL to build * build fix * mutex fixes * sim app cleanup and improvements * docs updated * fix for sdl? * fix for SDL cmake setup
28 lines
472 B
C
28 lines
472 B
C
#include "hello_world/hello_world.h"
|
|
#include "lvgl_hal.h"
|
|
#include "tactility.h"
|
|
#include "ui/lvgl_sync.h"
|
|
|
|
#include "FreeRTOS.h"
|
|
#include "task.h"
|
|
|
|
#define TAG "main"
|
|
|
|
_Noreturn void app_main() {
|
|
static const Config config = {
|
|
.apps = {
|
|
&hello_world_app
|
|
},
|
|
.services = {},
|
|
.auto_start_app_id = NULL
|
|
};
|
|
|
|
TT_LOG_I("app", "Hello, world!");
|
|
|
|
tt_init(&config);
|
|
|
|
while (true) {
|
|
vTaskDelay(1000);
|
|
}
|
|
}
|