-
Notifications
You must be signed in to change notification settings - Fork 5.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[bsp][stm32][libraries]add stm32h5 dma & modify drv_uart_v2 #9307
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
CI编译没有过
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@@ -24,6 +24,7 @@ | |||
/* USER CODE BEGIN Includes */ | |||
#include <drv_common.h> | |||
/* USER CODE END Includes */ | |||
DMA_HandleTypeDef handle_GPDMA1_Channel0; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
定义在这里,使用cubemx生成代码后会被覆盖。
if (RT_DEVICE_FLAG_DMA_RX == flag) | ||
{ | ||
DMA_Handle->Init.Direction = DMA_PERIPH_TO_MEMORY; | ||
#if defined(SOC_SERIES_STM32H5) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
注意格式缩进
拉取/合并请求描述:(PR description)
[
[bsp][stm32][libraries]新增STM32H5部分BSP适配
为什么提交这份PR (why to submit this PR)
为STM32H5增加部分bsp
你的解决方案是什么 (what is your solution)
新增dma config和修改串口驱动V2版本以适配
请提供验证的bsp和config (provide the config and bsp)
]
当前拉取/合并请求的状态 Intent for your PR
必须选择一项 Choose one (Mandatory):
代码质量 Code Quality:
我在这个拉取/合并请求中已经考虑了 As part of this pull request, I've considered the following:
#if 0
代码,不包含已经被注释了的代码 All redundant code is removed and cleaned up