27730260e0
- Created `tactility-headless` to support ESP32 firmwares that don't require graphics - `tactility` subproject now contains both PC and ESP32 code (to avoid having to split up `tactility` and `tactility-headless` into separate projects, which would result in a very complex dependency tree) - `tactility` subproject is now defined as component for ESP32 and as regular module for PC - Improvements for dispatcher - Added `project-structure.puml` to docs - `Gui` service now depends on `Loader` service instead of the reverse - Added `statusbar_updater` service for updating Wi-Fi and SD card icons
27 lines
561 B
C
27 lines
561 B
C
#include "board_config.h"
|
|
|
|
// Apps
|
|
#include "hello_world/hello_world.h"
|
|
#include "tactility.h"
|
|
|
|
extern void wifi_main(void*);
|
|
|
|
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,
|
|
},
|
|
.services = {},
|
|
.auto_start_app_id = NULL
|
|
};
|
|
|
|
tt_init(&config);
|
|
|
|
wifi_main(NULL);
|
|
}
|