Commit Graph

10 Commits

Author SHA1 Message Date
许晟昊 0d9aa2d8d2 Refactor USB and application task handling
- Updated USB OTG FS interrupt priority to the highest level for improved responsiveness.
- Refactored application task to use a flow control structure for better timing management.
- Removed unnecessary FreeRTOS dependencies from shell port implementation.
- Disabled shell task loop for non-RTOS environments, allowing for more flexible shell usage.
- Adjusted flow tick rate for finer control over timing.
- Cleaned up project configuration to remove unused FreeRTOS task definitions and streamline NVIC settings.
2026-03-23 19:12:44 +08:00
许晟昊 ff554a472c Refactor app.c and board.c for improved display handling and memory management
- Updated sgl_print_hello function to clear the screen and render "Hello World" with improved task handling.
- Modified business_task to repeatedly display "Hello World" every second.
- Enhanced lcd_rtc_test to create and manage labels more efficiently, ensuring proper screen updates.
- Introduced dynamic text handling in sgl_label to manage memory for label text, allowing for automatic cleanup on destruction.
- Added cmd_mem_info function to display SGL memory usage via shell command.
2026-03-23 18:01:14 +08:00
许晟昊 9f04900092 Add textline, unzip image, and window widgets
- Implemented sgl_textline widget for displaying multi-line text with customizable properties such as font, color, and background.
- Added sgl_unzip_image widget to handle compressed image data, including drawing with transparency and color replacement.
- Created sgl_win widget for window management, featuring title text, close button, and customizable appearance attributes.
- Each widget includes necessary functions for creation, property setting, and rendering.
2026-03-23 13:07:16 +08:00
许晟昊 056b3e1d3e 增加USB 2025-03-12 00:37:12 +08:00
许晟昊 2ca3ace0cc 加入lvgl 2025-01-22 10:19:04 +08:00
许晟昊 344eeb0ee4 指定SRAM2 2025-01-22 09:28:56 +08:00
许晟昊 7bd9f1376a lcd154完成 2025-01-21 23:56:10 +08:00
许晟昊 0988d478e0 更新SD读写,用DMA失败 2025-01-21 16:23:43 +08:00
许晟昊 587e9158f2 更新RTC时钟 2025-01-21 13:37:26 +08:00
许晟昊 a34c2dfabf init 2025-01-21 11:00:48 +08:00