Repository navigation
Conversation
- Support M3331 series. - Align nuvoton-series package only.
|
👋 感谢您对 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-05-09 10:04 CST)
📝 Review Instructions
|
There was a problem hiding this comment.
该文件是否可以考虑迁移到packages,该文件是针对某一系列使用的吗,还是通用的
|
@wosayttn pr有些冲突文件,还麻烦修改后@我下 |
Rbb666
left a comment
There was a problem hiding this comment.
新增 M3331 BSP 还有两个可选配置下的构建问题:
-
bsp/nuvoton/numaker-m3334ki/rtconfig.py的armclang分支没有定义CXX,但SConstruct创建环境时无条件读取rtconfig.CXX。设置RTT_CC=keil后,配置结果为PLATFORM=armclang、CXX不存在,会在进入编译前触发AttributeError。请补齐该分支的 C++ 编译器及相应参数,并验证 Keil 工程生成和构建。 -
bsp/nuvoton/libraries/m3331/rtt_port/drv_rtc.c第 106~111 行直接赋值device_rtc.init/open/close/control/read/write。同时启用BSP_USING_RTC和RT_USING_DEVICE_OPS时,struct rt_device中这些成员被ops替代,当前代码无法编译;Kconfig 没有排除这一组合。请增加RT_USING_DEVICE_OPS分支,通过struct rt_device_ops注册操作,并验证两种设备操作接口配置。
请在解决现有合并冲突时保留这些修复,并补充对应配置的构建结果。
|
Okay. I will solve these issues next PR and create new. |
拉取/合并请求描述:(PR description)
[
为什么提交这份PR (why to submit this PR)
你的解决方案是什么 (what is your solution)
请提供验证的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