- Initialize LVGL with appropriate configuration and error handling. - Create and initialize UIHandler to manage app icons and interactions. - Register DemoApp and ShutdownApp with AppRegistry. - Implement touch task and display initialization for EInkDisplayHandler. - Handle shutdown signal by switching to ShutdownApp and performing cleanup.
7 lines
348 B
CMake
7 lines
348 B
CMake
set(requires esp-tls spi_flash nvs_flash esp_event esp_netif esp_http_client esp_wifi esp_psram esp_lvgl_port)
|
|
file(GLOB SRCS "main.cpp" "*.cpp" "*.c" "**/*.cpp" "**/*.c")
|
|
|
|
idf_component_register(SRCS ${SRCS}
|
|
PRIV_REQUIRES ${requires}
|
|
INCLUDE_DIRS "." "display" "network" "ui" "ui/apps" "io" "common")
|