-
Notifications
You must be signed in to change notification settings - Fork 5.3k
[bsp/renesas] add bsp ra4e2-ek #10700
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
Conversation
📌 Code Review Assignment🏷️ Tag: bsp_renesasReviewers: kurisaW Changed Files (Click to expand)
📊 Current Review Status (Last Updated: 2025-09-19 21:41 CST)
📝 Review Instructions
|
| ## 外设支持 | ||
|
|
||
| 本 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.
此处外设是否都通过验证,如验证成功请提交运行截图,否则请修改为不支持
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/renesas/ra4e2-ek/README.md
Outdated
|
|
||
| ## 开发板介绍 | ||
|
|
||
| 基于瑞萨 RA6M4 MCU 开发的 CPK-RA6M4 MCU 评估板,通过灵活配置软件包和 IDE,可帮助用户对 RA6M4 MCU 群组的特性轻松进行评估,并对嵌入系统应用程序进行开发。 |
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.
另外你这份readme并不是对应你的bsp信息,请同步修改
| #define RA_IRQ_MAX 16 | ||
|
|
||
| /* PIN to IRQx table */ | ||
| #define PIN2IRQX_TABLE \ |
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.
这里的引脚中断是否是依据fsp的中断引脚进行对应配置?
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/renesas/ra4e2-ek/board/Kconfig
Outdated
| @@ -0,0 +1,59 @@ | |||
| menu "Hardware Drivers Config" | |||
|
|
|||
| config SOC_R7FA4E2B9 | |||
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.
另外你的芯片型号并不是这款,请依据configuration.xml中芯片的定义截取长度并进行命名
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.
最新修改中对应修改,感谢
|
@miaolei7456 这个svd可以不用上传,readme里面给个外链会好一些,体积太大了: |
工程未使用此文件, 此文件在renesas bsp中已有一份,此文件可以删除 bsp\renesas\ra4e2-eco\script\R7FA4E2B9.svd
|
@Rbb666 R7FA4E2B9.svd此文件已删除 |
|
@Rbb666 感谢,已修正 |
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 BSP support for the Renesas EK-RA4E2 evaluation board, utilizing FSP 6.0. The implementation provides essential CMSIS 6 ARM Cortex-M core files needed to support this embedded platform for RT-Thread. The BSP enables development on the RA4E2 microcontroller with comprehensive ARM core register access and interrupt handling capabilities.
Key Changes:
- Added complete CMSIS 6 ARM Cortex-M core library support
- Implemented ARM core register definitions and hardware abstraction layers
- Provided compiler-specific intrinsics for GCC, Clang, and ARM Clang
- Added Armv7-M and Armv8-M architecture support components
Reviewed Changes
Copilot reviewed 48 out of 163 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| cmsis_gcc_m.h | GCC-specific ARM Cortex-M compiler intrinsics and core functions |
| cmsis_clang_m.h | Clang/LLVM compiler intrinsics with SIMD support for ARM Cortex-M |
| cmsis_armclang_m.h | ARM Clang compiler intrinsics and DSP functions |
| armv8m_pmu.h | ARMv8.1-M Performance Monitoring Unit API definitions |
| armv8m_mpu.h | ARMv8/8.1-M Memory Protection Unit configuration functions |
| armv81m_pac.h | ARMv8.1-M Pointer Authentication Control key management |
| armv7m_mpu.h | ARMv7-M Memory Protection Unit API and region definitions |
| armv7m_cachel1.h | Level 1 cache management functions for ARMv7-M and later |
| core_sc000.h | Secure Core SC000 peripheral access definitions |
| core_cm1.h | Cortex-M1 core peripheral access layer with NVIC support |




拉取/合并请求描述:(PR description)
[
为什么提交这份PR (why to submit this PR)
添加EK-RA4E2的支持,目前使用的是FSP6.0版本
存在的问题:
使用FSP重新生成代码的时候,会在当前目录重新生成bsp_linker_info.h,直接使用env编译的话需要手动删除,keil没有影响
你的解决方案是什么 (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