Skip to content

Commit 92cf02a

Browse files
authored
Merge pull request #5262 from ShermanShao/master
[BSP/RA6M4-CPK] 添加 CAN、RW007 的支持
2 parents c5208a7 + 0f0093a commit 92cf02a

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

54 files changed

+1438
-220
lines changed

bsp/ra6m4-cpk/.gitignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
/RTE
2+
/Listings
3+
/Objects
4+
ra_cfg.txt
5+

bsp/ra6m4-cpk/README.md

Lines changed: 18 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131

3232
| **片上外设** | **支持情况** | **备注** |
3333
| :----------------- | :----------------- | :------------- |
34-
| UART | 支持 | UART7 |
34+
| UART | 支持 | UART7 为默认日志输出端口 |
3535
| GPIO | 支持 | |
3636
| IIC | 支持 | 软件 |
3737
| WDT | 支持 | |
@@ -41,7 +41,12 @@
4141
| SPI | 支持 | |
4242
| FLASH | 支持 | |
4343
| PWM | 支持 | |
44+
| CAN | 支持 | |
4445
| 持续更新中... | | |
46+
| **外接外设** | **支持情况** | **备注** |
47+
| WiFi | 支持 | [RW007 WiFi 网络模块](https://github.com/RT-Thread-packages/rw007) |
48+
| 温湿度传感器 | 支持 | [HS300x 温湿度模块](https://github.com/Guozhanxin/hs300x) |
49+
4550

4651
## 使用说明
4752

@@ -148,10 +153,10 @@ void hal_entry(void)
148153
149154
需要修改瑞萨的 BSP 外设配置或添加新的外设端口,需要用到瑞萨的 [FSP](https://www2.renesas.cn/jp/zh/software-tool/flexible-software-package-fsp#document) 配置工具。请务必按照如下步骤完成配置。配置中有任何问题可到[RT-Thread 社区论坛](https://club.rt-thread.org/)中提问。
150155
151-
1. [下载灵活配置软件包 (FSP) | Renesas](https://www.renesas.com/cn/zh/software-tool/flexible-software-package-fsp)
156+
1. [下载灵活配置软件包 (FSP) | Renesas](https://www.renesas.com/cn/zh/software-tool/flexible-software-package-fsp),建议使用 FSP 3.1.0
152157
2. 下载安装完成后,需要添加 CPK-RA6M4 开发板的[官方板级支持包](https://www2.renesas.cn/document/sws/1527176?language=zh&r=1527191)
153158
3. 如何将 BSP 配置包添加到 FSP 中,请参考文档[如何导入板级支持包](https://www2.renesas.cn/document/ppt/1527171?language=zh&r=1527191)
154-
4. 请查看文档:[使用瑞萨 FSP 配置工具](./docs/使用瑞萨FSP配置工具.md)。在 MDK 中通过添加自定义命名来打开当前工程的 FSP 配置
159+
4. 请查看文档:[使用瑞萨 FSP 配置工具](./docs/使用瑞萨FSP配置工具.md)。在 MDK 中通过添加自定义命名来打开当前工程的 FSP 配置
155160
156161
**ENV 配置**
157162
@@ -165,10 +170,19 @@ void hal_entry(void)
165170
3. 输入`pkgs --update`命令更新软件包。
166171
4. 输入`scons --target=mdk5` 命令重新生成工程。
167172
173+
174+
## FAQ
175+
176+
### 使用 MDK 的 DEBUG 时如果遇到提示 “Error: Flash Download failed Cortex-M33” 怎么办?
177+
178+
可按照下图操作,修改 Utilities 中的选项:
179+
180+
![image-20211214102231248](docs/picture/readme_faq1.png)
181+
168182
## 联系人信息
169183
170184
在使用过程中若您有任何的想法和建议,建议您通过以下方式来联系到我们 [RT-Thread 社区论坛](https://club.rt-thread.org/)
171185
172186
## 贡献代码
173187
174-
如果您对 CPK-RA6M4 感兴趣,并且有一些好玩的项目愿意与大家分享的话欢迎给我们贡献代码,您可以参考 [ RT-Thread 代码贡献](https://www.rt-thread.org/document/site/#/rt-thread-version/rt-thread-standard/development-guide/github/github)
188+
如果您对 CPK-RA6M4 感兴趣,并且有一些好玩的项目愿意与大家分享的话欢迎给我们贡献代码,您可以参考 [如何向 RT-Thread 代码贡献](https://www.rt-thread.org/document/site/#/rt-thread-version/rt-thread-standard/development-guide/github/github)。

bsp/ra6m4-cpk/docs/picture/can.png

27.8 KB
Loading
21.1 KB
Loading
22.2 KB
Loading
17.4 KB
Loading
31.4 KB
Loading
25.2 KB
Loading
13.4 KB
Loading
19 KB
Loading

0 commit comments

Comments
 (0)