Files
tactility/app-esp/src/main.c
T
Ken Van Hoeylandt 14eb43211d Support for Waveshare S3 Touch LCD 4.3 (#18)
* initial changes for waveshare s3 touch support

* fix lvgl locking

* fix for lvgl locking

* cleaned up dependencies

* boards now depend on tactility instead of tactility-esp

* revert deletion

* remove component

* working touch&display driver

* added waveshare to github actions

* cleanup

* fix for driver

* fix for sim build

* build fixes

* updated docs

* updated docs

* attempt new sdl2 github action

* revert

* fixes for clion/cmdline build

environment wasn't parsed properly

* temporarily disable pc sim build
2024-01-26 21:36:21 +01:00

37 lines
819 B
C

#include "board_config.h"
#include "tactility_esp.h"
// Apps
#include "hello_world/hello_world.h"
extern void wifi_main(void*);
extern const ServiceManifest wifi_service;
extern const AppManifest wifi_connect_app;
extern const AppManifest wifi_manage_app;
TT_UNUSED void app_main(void) {
static const Config config = {
/**
* Auto-select a board based on the ./sdkconfig.board.* file
* that you copied to ./sdkconfig before you opened this project.
*/
.hardware = TT_BOARD_HARDWARE,
.apps = {
&hello_world_app,
&wifi_connect_app,
&wifi_manage_app
},
.services = {
&wifi_service
},
.auto_start_app_id = NULL
};
tt_esp_init();
tt_init(&config);
wifi_main(NULL);
}