- 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. |
||
|---|---|---|
| .. | ||
| bsp | ||
| driver | ||
| letter_shell | ||
| lib | ||
| lua | ||
| btn.c | ||
| btn.h | ||
| delay.c | ||
| delay.h | ||
| os.h | ||
| readme.txt | ||
| sys.c | ||
| sys.h | ||
readme.txt
1,delay文件夹:存放延时相关的驱动代码。 2,sys文件夹:存放系统相关驱动代码。 3,uart文件夹:存放串口相关代码。 4,rt-thread:https://zhuanlan.zhihu.com/p/653746487?utm_campaign=shareopn&utm_medium=social&utm_psn=1827650748781039617&utm_source=wechat_session