fix(device-ui): harden fbdev blit, evdev loop, LVGL lifecycle, and feedback toasts

This commit is contained in:
2026-11-18 08:51:32 -05:00
parent 7d369b2c35
commit eeacf0efcc
7 changed files with 587 additions and 134 deletions

View File

@@ -81,6 +81,9 @@ if(CP0_UI_BUILD_APP)
endif()
if(CP0_UI_TARGET_DEVICE)
if(NOT CMAKE_SYSTEM_NAME STREQUAL "Linux")
message(FATAL_ERROR "CP0_UI_TARGET_DEVICE=ON requires Linux (fbdev/evdev); got CMAKE_SYSTEM_NAME=${CMAKE_SYSTEM_NAME}")
endif()
target_compile_definitions(cp0-sync-ui PRIVATE CP0_UI_TARGET_DEVICE=1)
message(STATUS "Target backend: Linux fbdev + evdev")
else()