提供STM32 HAL库裸机和FreeRTOS的demo参考(双环形队列缓冲,中断可用)#203
Open
fool-cat wants to merge 12 commits into
Open
Conversation
fool-cat
commented
Dec 8, 2024
- 样例使用两个环形缓冲区用于缓冲shell与物理层的读写,提升性能(样例使用串口可以配置DMA/中断/轮询)
- 利用xprintf库提供类似printf功能API对接到shell
- 样例适配文件单独抽离,可根据此文件适配个人的芯片环境,仅需要对接发送接收等几个简单宏即可
- 编写移植说明,简单几步即可在keil中部署
1. 修复了宏定义为枚举导致预编译分支错误问题 2. 完善了keil ac5编译器的支持,目前能正常通过编译无警告 3. 新增了xprintf库的字符串格式化输出,提供了类似标准库的printf
1. 加锁解锁的API对接问题 2. 添加部分移植描述等
|
👍👍👍 |
1. 优化写缓冲溢出处理逻辑,保证输出数据的完整性 2. 增加shell_write直接往缓冲区写入数据,方便输出原始数据 3. 取消shell_printf的尾随模式打印 4. 增加作者推荐的overlay方式修改配置文件
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.