Skip to content
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

[bsp/stm32] add the bsp of robomaster dev board C #4837

Merged
merged 8 commits into from
Jul 5, 2021
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
[bsp/stm32/rmc] support iar.
  • Loading branch information
icrazt committed Jul 1, 2021
commit 7b9904a15279a90b128d301800e54dcf4b227f69
14 changes: 7 additions & 7 deletions bsp/stm32/stm32f407-robomaster-c/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,15 +39,15 @@ Robomaster 开发板C型 是大疆创新科技有限公司推出的一款基于

| **板载外设** | **支持情况** | **备注** |
| :----------- | :----------: | :----------------------------------- |
| CAN | 暂不支持 | CAN1, CAN2 |
| BMI088 | 暂不支持 | 六轴惯性测量单元 |
| BMI088 | 暂不支持 | 六轴惯性测量单元(有软件包) |
| IST8310 | 暂不支持 | 三轴磁力计 |
| **片上外设** | **支持情况** | **备注** |
| GPIO | 支持 | PA0, PA1... PH1 ---> PIN: 0, 1...144 |
| UART | 支持 | UART1, UART3(DBUS), UART6 |
| PWM | 暂不支持 | |
| SPI | 暂不支持 | |
| I2C | 暂不支持 | |
| CAN | 下阶段支持 | CAN1, CAN2 |
| PWM | 下阶段支持 | |
| SPI | 下阶段支持 | BMI088, 用户SPI接口 |
| I2C | 下阶段支持 | IST8310, 用户 I2C 接口 |
| USB | 暂不支持 | |
| **扩展模块** | **支持情况** | **备注** |
| 无 | | |
Expand All @@ -62,7 +62,7 @@ Robomaster 开发板C型 是大疆创新科技有限公司推出的一款基于

- 进阶使用

本章节是为需要在 RT-Thread 操作系统上使用更多开发板资源的开发者准备的。通过使用 ENV 工具对 BSP 进行配置,可以开启更多板载资源,实现更多高级功能。
本章节是为需要在 RT-Thread 操作系统上使用更多开发板资源的开发者准备的。通过使用[ENV 工具](https://docs.rt-thread.org/#/development-tools/env/env)对 BSP 进行配置,可以开启更多板载资源,实现更多高级功能。


### 快速上手
Expand Down Expand Up @@ -110,7 +110,7 @@ msh >

## 注意事项

- 部分外设需通过 XT30 或 USB 接口供电才能使用,包括 CAN、舵机5V供电、IMU恒温电路
- 部分外设需通过 XT30 或 USB 接口供电才能正常使用,包括 CAN、舵机5V供电、IMU恒温电路等
- 目前 scons 支持生成 cmake 配置文件,可以使用 CLion 进行 C板 的程序开发,推荐同学们尝试。详细步骤可参见:[在 Clion 中调试 rt-thread 工程](https://club.rt-thread.org/ask/article/2840.html),C板的 openOCD 配置文件推荐选用 `stm32f4discovery.cfg` ,并将该配置文件的最后一行改为 `reset_config none`

## 联系人信息
Expand Down
2 changes: 1 addition & 1 deletion bsp/stm32/stm32f407-robomaster-c/applications/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
int main(void)
{
int count = 1;
/* set LED0 pin mode to output */
/* set LED Blue pin mode to output */
rt_pin_mode(LED_B_PIN, PIN_MODE_OUTPUT);

while (count++)
Expand Down
Loading