Commit Graph

11 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
许晟昊 9b1b5a75ff 移除freertos 2026-03-23 19:12:33 +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
xushenghao 21e9d75e40 Implement DMA for USART1 reception and update FreeRTOS configuration
- Modified shell_port.c to replace interrupt-based UART reception with DMA.
- Introduced a DMA buffer for UART data and adjusted the shell buffer handling.
- Added idle interrupt handling to process incoming data from the DMA buffer.
- Updated freertos_f407.ioc to configure DMA for USART1 RX and TX.
- Enabled necessary NVIC interrupts for DMA streams associated with USART1.
2025-09-10 00:48:06 +08:00
xushenghao c3b9daba20 Add Lua virtual machine and buffered stream implementations
- Introduced lvm.h for Lua virtual machine definitions, including functions for type conversion, fast table access, and integer operations.
- Implemented lzio.c and lzio.h for buffered stream handling, providing functionalities for reading from streams and managing buffers.
- Added necessary macros and function declarations to support efficient stream operations and memory management.
2025-09-10 00:38:07 +08:00
许晟昊 056b3e1d3e 增加USB 2025-03-12 00:37:12 +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