Skip to content

Commit 3b3158e

Browse files
committed
update readme
1 parent 0ce53a4 commit 3b3158e

File tree

2 files changed

+16
-1
lines changed

2 files changed

+16
-1
lines changed

bsp/gd32/arm/gd32e230-lckfb/README.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,18 @@
3636
| :--- | :---: | :--- |
3737
| GPIO | 支持 | PAx, PBx... |
3838
| UART | 支持 | USART0, USART1 |
39+
| I2C | 支持 | I2C0, I2C1 硬件I2C |
3940
| **扩展模块** | **支持情况** | **备注** |
4041
| 暂无 | 暂不支持 | 暂不支持 |
4142

43+
### 补充说明
44+
45+
I2C 引脚分配:
46+
- **I2C0**: SCL(PA9), SDA(PA10)
47+
- **I2C1**: SCL(PB10), SDA(PB11)
48+
默认速率400KHz,可以配置调整。
49+
50+
4251
## 使用说明
4352

4453
使用说明分为如下两个章节:
@@ -95,7 +104,7 @@ pyocd flash -t gd32e230c8t6 rtthread.bin
95104
4. 输入 `scons -j12` 编译。
96105

97106
## 注意事项
98-
1. GD32E230资源受限,虽然通过调整参数极限运行msh,但是意义不大,建议关闭。
107+
1. GD32E230资源受限,虽然通过调整参数可以运行msh,但是意义不大,建议关闭。
99108
2. **GPIOA-13****GPIOA-14** 默认用于 SWD 调试下载功能,建议不要配置为其它功能,否则将可能导致无法正常下载和调试。
100109

101110
## 联系人信息

bsp/gd32/arm/libraries/gd32_drivers/drv_hw_i2c.h

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
/*
2+
* Copyright (c) 2006-2025, RT-Thread Development Team
3+
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*/
6+
17
#ifndef __DRV_HW_I2C_H__
28
#define __DRV_HW_I2C_H__
39

0 commit comments

Comments
 (0)