Go to file
起床就犯困 5142a3d77d 队列+中断发送完成 2025-02-28 16:57:09 +08:00
CH32V303-FreeRTOS 队列+中断发送完成 2025-02-28 16:57:09 +08:00
.gitignore 添加adc,串口,gpio,flash等外设 2025-02-26 17:59:15 +08:00
README.md 添加adc,串口,gpio,flash等外设 2025-02-26 17:59:15 +08:00

README.md

测试

串口中断发送通过测试

spi_flash读写通过测试

对智能模块通信串口,阻塞发送数据通过测试。

问题

串口中断

25/02/24

在freerots环境下中断不生效

解决

25/02/25

需要启动freerots任务

同时中断部分

void UART5_IRQHandler(void) __attribute__((interrupt("WCH-Interrupt-fast")));

变为

void UART5_IRQHandler(void) __attribute__((interrupt()));

其他中断同上,由硬件压栈变为软件压栈