-
Notifications
You must be signed in to change notification settings - Fork 5.3k
新增 ft32f407xe-starter 板级支持包 #11116
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
新增 ft32f407xe-starter 板级支持包 #11116
Conversation
|
👋 感谢您对 RT-Thread 的贡献!Thank you for your contribution to RT-Thread! 为确保代码符合 RT-Thread 的编码规范,请在你的仓库中执行以下步骤运行代码格式化工作流(如果格式化CI运行失败)。 🛠 操作步骤 | Steps
完成后,提交将自动更新至 如有问题欢迎联系我们,再次感谢您的贡献!💐 |
📌 Code Review Assignment🏷️ Tag: workflowReviewers: Rbb666 kurisaW supperthomas Changed Files (Click to expand)
📊 Current Review Status (Last Updated: 2026-01-07 14:13 CST)
📝 Review Instructions
|
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.
Pull request overview
This PR adds a new board support package (BSP) for the FT32F407xE-Starter development board and removes redundant files from the ft32f072xb-starter BSP. The changes include new driver files, CMSIS headers, startup files, and library support for the FT32F4xx series microcontroller.
Reviewed changes
Copilot reviewed 56 out of 149 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| libraries/FT32F4xx/FT32F4xx_Driver/inc/*.h | Added peripheral driver header files for FT32F4xx series |
| libraries/FT32F4xx/CMSIS/FT32F4xx/source/system_ft32f4xx.c | Added system initialization and clock configuration |
| libraries/FT32F4xx/CMSIS/FT32F4xx/source/*/startup_ft32f407xe.s | Added startup files for GCC, ARM, and IAR toolchains |
| libraries/FT32F4xx/CMSIS/FT32F4xx/include/*.h | Added CMSIS core headers and device definitions |
| libraries/Drivers/*.h | Updated driver headers to support FT32F4 series |
| ft32f407xe-starter/board/* | Added new BSP board support files |
| .clang-format-ignore | Added FT32F4xx library to format ignore list |
bsp/ft32/libraries/FT32F4xx/CMSIS/FT32F4xx/source/gcc/startup_ft32f407xe.s
Outdated
Show resolved
Hide resolved
bsp/ft32/libraries/FT32F4xx/CMSIS/FT32F4xx/source/gcc/startup_ft32f407xe.s
Outdated
Show resolved
Hide resolved
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.
关于芯片的底层库函数不建议提交上来了,需要提交到软件包的方式添加了
步骤请参考:rt-thread主仓 BSP瘦身指南
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.
这边仓库已更新,并已在package仓库提交pr请求,请有时间审核一下,谢谢
pr: RT-Thread/packages#1944
| @@ -1,2 +1,3 @@ | |||
| # clang-format ignore file | |||
| /libraries/FT32F0xx/ | |||
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.
后续统一使用软件包的形式维护原厂库,所以这里的过滤规则的目录也请删除
bsp/ft32/libraries/Kconfig
Outdated
| @@ -6,5 +6,8 @@ config SOC_SERIES_FT32F0 | |||
| select ARCH_ARM_CORTEX_M0 | |||
| select SOC_FAMILY_FT32 | |||
|
|
|||
|
|
|||
| config SOC_SERIES_FT32F4 | |||
| bool | |||
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.
F0还有F4请添加对应软件包依赖宏定义
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.
已添加并删除多余文件
|
更新工程中的sconstruct文件导致的编译错误,请再次开启approve流程,谢谢 |
|
@kurisaW 请先审核该RT-Thread/packages#1946 |
|
辛苦作者最后压缩一下提交~ |
|
已压缩提交记录,请重新 approve 审查,谢谢 |
|
PR的标题修改一下建议[bsp/ft32].... |



拉取/合并请求描述:(PR description)
[
为什么提交这份PR (why to submit this PR)
1、新增 ft32f407xe-starter 板级支持包
2、删除ft32f072xb-starter多余文件
你的解决方案是什么 (what is your solution)
1、在板卡上进行编译无误,测试并通过
请提供验证的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