Commit Graph

4 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
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
许晟昊 7bd9f1376a lcd154完成 2025-01-21 23:56:10 +08:00