rt-thread
rt-thread copied to clipboard
[Feature][stm32][drv_serial_v2] 串口支持硬件fifo?
Describe problem solved by the proposed feature
在finsh开到较高的波特率(比如2M)时,串口驱动(serial_v2)可能会来不及接收连续的数据(比如上键,\x1B\x5B\x41)导致overrun的问题,即使我使用的是480M的H750并将中断所用到的函数放入了itcm。
考虑到现在很多新的STM32都带了硬件FIFO,我在初始化完后使能硬件FIFO,finsh就可以顺利的接到上了
未来会考虑为STM32的串口驱动加入硬件FIFO吗
Describe your preferred solution
No response
Describe possible alternatives
No response