Commit Graph

47 Commits

Author SHA1 Message Date
GW_MC
de2f166151 Enhance EInkDisplayHandler and LVGLHandler with deep sleep functionality and partial refresh improvements 2026-01-27 19:12:37 +08:00
GW_MC
dc2a76e131 Fixed partial refresh problem, but refresh may blackout un touched pixels 2026-01-27 11:50:12 +08:00
GW_MC
6fbbfcde4f Added lvgl init, display not refresh correctly 2026-01-26 22:50:02 +08:00
GW_MC
30dfdd630a Re implement display 2026-01-26 18:17:39 +08:00
GW_MC
abe840b65d Remove incorrect watchdog reset 2026-01-25 21:54:26 +08:00
GW_MC
f3dfc4f43f refactor: improve watchdog handling and screen loading in UI and display handlers 2026-01-25 19:39:21 +08:00
GW_MC
5865f6d383 Fix display not init 2026-01-25 18:58:20 +08:00
GW_MC
259660a0bc Fix touch screen not responding, but screen still not refreshed. 2026-01-25 15:51:49 +08:00
GW_MC
57f698425b no more error in display, but no refresh 2026-01-25 15:28:07 +08:00
GW_MC
580d6a0a5b Merge branch 'setup' into feature/mtr-app 2026-01-24 18:25:11 +08:00
GW_MC
68f2c821fa refactor: comment out logging for key-value storage and adjust string allocation in NVS handler 2026-01-24 18:25:00 +08:00
GW_MC
d0a1e8c80f feat: enhance EInk display handler with improved resource management and non-blocking SPI transactions 2026-01-24 18:24:41 +08:00
GW_MC
9487efff0e Merge branch 'setup' into feature/mtr-app 2026-01-24 17:15:20 +08:00
GW_MC
143a28de90 feat: add support for build-time WiFi credentials from .env file 2026-01-24 17:14:32 +08:00
GW_MC
d091625cea feat: add MTR Next Train application with multi-page navigation and real-time arrival info 2026-01-24 16:46:00 +08:00
GW_MC
d01167fd77 feat: implement MTR Next Train Handler with arrival and line info parsing 2026-01-24 16:45:53 +08:00
GW_MC
694ead2b42 Merge branch 'display' into feature/mtr-app 2026-01-24 13:31:18 +08:00
GW_MC
89cc04951f feat: add DiscordApp for voice control integration with UDP communication 2026-01-24 13:22:17 +08:00
GW_MC
dd1702e3e9 feat: implement PageStack class for multi-page navigation in LVGL apps 2026-01-24 13:13:28 +08:00
GW_MC
dfd8959f58 feat: implement UDPClient class for non-blocking UDP communication 2026-01-24 13:13:18 +08:00
GW_MC
162b3710eb feat: Integrate LVGL and UI handling in app_main
- 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.
2026-01-24 10:40:09 +08:00
GW_MC
86e102adc7 feat: add DemoApp and ShutdownApp classes for interactive UI and shutdown management 2026-01-24 10:39:44 +08:00
GW_MC
ccae9e89da feat: add DemoApp and ShutdownApp classes for interactive UI components and shutdown management 2026-01-24 10:39:37 +08:00
GW_MC
0c26d91565 feat: implement RootLayout and UIHandler for improved UI structure and app management 2026-01-24 10:39:30 +08:00
GW_MC
6ad55c7efc feat: add AppRegistry, RootLayout, UIHandler, and UIApp classes for improved UI management 2026-01-24 10:39:16 +08:00
GW_MC
d248557614 feat: implement EInkDisplayHandler for enhanced E-Ink display management and touch input handling 2026-01-24 10:39:03 +08:00
GW_MC
4f7418c77a feat: enhance display handling with EInkDisplayHandler class and update DisplayHandler interface 2026-01-24 10:38:58 +08:00
GW_MC
4fa8dc608f feat: add display and touch initialization in DisplayHandler 2026-01-21 14:10:39 +08:00
GW_MC
44fb9aa632 Refactor NVS and WiFi handlers for improved memory management and logging
- Updated KVStorageHandler interface to use std::string instead of char* for key-value operations.
- Enhanced NVSStorageHandler to utilize ESP_LOG for error and info messages instead of printf.
- Refactored WifiHandler to manage WiFi credentials using JSON format for better structure and storage.
- Replaced raw pointers with std::unique_ptr in WifiHandler and NetworkHandler for automatic memory management.
- Removed unused TouchHandler and EInkTouchHandler classes to clean up the codebase.
- Adjusted CMakeLists.txt to remove unnecessary include directories.
- Updated lv_conf.h to enable FreeRTOS and gesture recognition features.
2026-01-21 14:00:04 +08:00
GW_MC
14f4b8fdc0 feat: update dependencies and configuration for esp32s3 support 2026-01-21 13:58:25 +08:00
GW_MC
fae9d30e3a feat: refactor header files and add info for psram 2026-01-20 20:15:44 +08:00
GW_MC
e163392532 Remove exception throwing 2026-01-20 20:15:05 +08:00
GW_MC
8f9f89cb32 feat: add structures for MTR arrival and station information handling 2026-01-20 20:11:29 +08:00
GW_MC
4d19dd7294 feat: update cJSON and add JSON minification for MTR_LINE_STATION 2026-01-20 20:11:04 +08:00
GW_MC
a1404a196e feat: enhance WifiHandler initialization with event handling and TCP/IP stack setup 2026-01-20 10:04:24 +08:00
GW_MC
41516374f0 fix: invalid const and declaration ordering and added smart pointer for get 2026-01-19 21:09:11 +08:00
GW_MC
4cda7d2de3 feat: integrate NetworkHandler and WifiHandler for network initialization 2026-01-19 20:44:52 +08:00
GW_MC
a801caaae6 feat: implement HttpHandler and WifiHandler classes for network management 2026-01-19 20:44:28 +08:00
GW_MC
89e8014798 feat: implement HttpHandler and WifiHandler classes for HTTP client management 2026-01-19 20:44:08 +08:00
GW_MC
1d12dc5160 feat: add esp_wifi to required components in CMakeLists.txt 2026-01-19 20:42:07 +08:00
GW_MC
0b26e0c7c9 feat: semaphore guard helper 2026-01-19 20:38:51 +08:00
GW_MC
89daff2267 Merge branch 'setup' into network-control 2026-01-19 12:55:38 +08:00
GW_MC
18ac21e257 Enhance NVSStorageHandler with filtering capabilities and update constructor to accept namespace 2026-01-19 12:55:12 +08:00
GW_MC
821fb0d9d7 added network dependencies 2026-01-19 11:19:59 +08:00
GW_MC
01c36669cf Fix event group reference in app_main for shutdown handling 2026-01-18 14:46:31 +08:00
GW_MC
d339a1f4c3 Add NVS storage handler and integrate with main application logic 2026-01-18 14:46:25 +08:00
GW_MC
e458256193 Add main application logic and touch handling functionality
- Implemented main application entry point in main.cpp, initializing queues and event groups.
- Created TouchHandler and EInkTouchHandler classes for handling touch events.
- Added a minimal event loop for touch processing in touch.cpp.
- Introduced unit tests for the hello world application in pytest_hello_world.py.
- Added configuration files for CI and Wokwi support.
- Created empty header files for network and UI modules.
2026-01-17 20:09:33 +08:00