Conversation
|
👋 感谢您对 RT-Thread 的贡献!Thank you for your contribution to RT-Thread! 为确保代码符合 RT-Thread 的编码规范,请在你的仓库中执行以下步骤运行代码格式化工作流(如果格式化CI运行失败)。 🛠 操作步骤 | Steps
完成后,提交将自动更新至 如有问题欢迎联系我们,再次感谢您的贡献!💐 |
📌 Code Review Assignment🏷️ Tag: bsp_renesasReviewers: kurisaW Changed Files (Click to expand)
🏷️ Tag: workflowReviewers: Rbb666 kurisaW supperthomas Changed Files (Click to expand)
📊 Current Review Status (Last Updated: 2025-11-30 14:02 CST)
📝 Review Instructions
|
There was a problem hiding this comment.
Pull Request Overview
This PR adds support for the RA6E1-FPB development board by including a new Board Support Package (BSP). The PR adds essential CMSIS 6 core header files to support ARM Cortex-M microcontrollers and provides the foundational infrastructure for the RA6E1-FPB board.
Key changes include:
- Addition of CMSIS 6 core header files for ARM Cortex-M microcontrollers
- Support files for multiple Cortex-M variants (M0, M0+, M1, SC000)
- Architecture-specific implementations for ARMv7-M, ARMv8-M, and ARMv8.1-M features
Reviewed Changes
Copilot reviewed 46 out of 166 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| bsp/renesas/re6e1-fpb/ra/arm/CMSIS_6/CMSIS/Core/Include/*.h | CMSIS 6 core header files providing ARM Cortex-M microcontroller support |
| cmsis_version.h | CMSIS version definitions for core components |
| core_cm*.h | Cortex-M core peripheral access layer headers for different variants |
| m-profile/*.h | ARM M-profile specific implementations for cache, MPU, PMU, and PAC features |
| /* \brief Specifies MAIR_ATTR number */ | ||
| #define MAIR_ATTR(x) ((x > 7 || x < 0) ? 0 : x) |
There was a problem hiding this comment.
[nitpick] [naming] 函数名 MAIR_ATTR 不够清晰。建议使用更具描述性的名称如 MAIR_ATTR_INDEX 或 MAIR_ATTR_VALIDATE。 / [naming] Function name MAIR_ATTR is unclear. Consider using a more descriptive name like MAIR_ATTR_INDEX or MAIR_ATTR_VALIDATE."
| /* \brief Specifies MAIR_ATTR number */ | |
| #define MAIR_ATTR(x) ((x > 7 || x < 0) ? 0 : x) | |
| /* \brief Specifies MAIR attribute index */ | |
| #define MAIR_ATTR_INDEX(x) ((x > 7 || x < 0) ? 0 : x) |
bsp/renesas/re6e1-fpb/ra/arm/CMSIS_6/CMSIS/Core/Include/m-profile/armv8m_mpu.h
Outdated
Show resolved
Hide resolved
…ile/armv8m_mpu.h 二进制数据转16进制 Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
|
|
|
||
| 开发板正面外观如下图: | ||
|
|
||
|  |
bsp/renesas/re6e1-fpb/README.md
Outdated
| | IIC | 支持 | 软件 | | ||
| | WDT | 支持 | | | ||
| | RTC | 支持 | | | ||
| | ADC | 支持 | | |
|
PR 标题建议作者描述清晰,此 PR 具体做了什么事情 |
|
|
||
| 开发板正面外观如下图: | ||
|
|
||
|  |
|
|
||
| from building import * |
There was a problem hiding this comment.
PR标题缺少正确的前缀格式。根据RT-Thread代码规范,PR标题应遵循格式:[模块][子系统] 描述(小写)。建议修改为:[renesas][ra6e1-fpb] add bsp ra6e1-fpb
PR title is missing the proper prefix format. According to RT-Thread coding guidelines, the PR title should follow the format: [module][subsystem] Description (lowercase). Suggest changing to: [renesas][ra6e1-fpb] add bsp ra6e1-fpb
|
|
||
| from building import * |
There was a problem hiding this comment.
PR描述不够详细。根据RT-Thread PR审查清单,PR描述应包含:What(做了什么修改)、Why(为什么需要)、How(修改了哪些文件)。当前描述仅说明了添加了BSP,但缺少修改文件的列表和详细说明。建议添加:1) 添加的主要文件列表,2) CMSIS 6版本信息,3) 支持的编译器和工具链。
PR description is insufficient. According to RT-Thread PR review checklist, the description should include: What (what changes), Why (why needed), How (which files modified). The current description only mentions adding BSP but lacks a file list and detailed explanation. Suggest adding: 1) List of main files added, 2) CMSIS 6 version information, 3) Supported compilers and toolchains.



拉取/合并请求描述:(PR description)
[
为什么提交这份PR (why to submit this PR)
Add bsp ra6e1-fpb.
请提供验证的bsp和config (provide the config and bsp)
bsp/renesas/ra6e1-fpb
]
当前拉取/合并请求的状态 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