-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
RT-Thread BSP v1.4.1 for HPM6750EVK2
- Fixed i2c driver issue while enabling DMA - Fixed tempalte project issue Signed-off-by: Fan YANG <[email protected]>
- Loading branch information
1 parent
46c4290
commit 9d4b2f8
Showing
23 changed files
with
94 additions
and
70 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,10 @@ | ||
# 更新 | ||
|
||
## v1.4.1 | ||
- 修复: | ||
- I2C开启DMA后传输出错的问题 | ||
- 默认模板工程创建出错的问题 | ||
|
||
## v1.4.0 | ||
|
||
- 整合了hpm_sdk v1.4.0 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,31 @@ | ||
# 简介 | ||
|
||
本例程演示基于RT-Thread I2C驱动框架对板载EEPROM器件进行读写。 | ||
|
||
## 支持的命令 | ||
|
||
```console | ||
RT-Thread shell commands: | ||
eeprom_i2c - "eeprom_i2c 0x50/0x51" | ||
reset - reset the board | ||
clear - clear the terminal screen | ||
version - show RT-Thread version information | ||
list - list objects | ||
help - RT-Thread shell help. | ||
ps - List threads in the system. | ||
free - Show the memory usage in the system. | ||
pin - pin [option] | ||
date - get date and time or set (local timezone) [year month day hour min sec] | ||
``` | ||
|
||
## 运行现象 | ||
使用`eeprom_i2c 0x50`命令, '0x50'是EEPROM的器件地址 | ||
```console | ||
msh >eeprom_i2c 0x50 | ||
eeprom device address: 0x50 | ||
eeprom write and read succes | ||
write 8 bytes from address 0x00: | ||
0x00 0x01 0x02 0x03 0x04 0x05 0x06 0x07 | ||
read 8 bytes from address 0x00: | ||
0x00 0x01 0x02 0x03 0x04 0x05 0x06 0x07 | ||
``` | ||
# 简介 | ||
|
||
本例程演示基于RT-Thread I2C驱动框架对板载EEPROM器件进行读写。 | ||
|
||
## 支持的命令 | ||
|
||
```console | ||
RT-Thread shell commands: | ||
eeprom_i2c - "eeprom_i2c 0x50" | ||
reset - reset the board | ||
clear - clear the terminal screen | ||
version - show RT-Thread version information | ||
list - list objects | ||
help - RT-Thread shell help. | ||
ps - List threads in the system. | ||
free - Show the memory usage in the system. | ||
pin - pin [option] | ||
date - get date and time or set (local timezone) [year month day hour min sec] | ||
``` | ||
|
||
## 运行现象 | ||
使用`eeprom_i2c 0x50`命令, '0x50'是EEPROM的器件地址 | ||
```console | ||
msh >eeprom_i2c 0x50 | ||
eeprom device address: 0x50 | ||
eeprom write and read succes | ||
write 8 bytes from address 0x00: | ||
0x00 0x01 0x02 0x03 0x04 0x05 0x06 0x07 | ||
read 8 bytes from address 0x00: | ||
0x00 0x01 0x02 0x03 0x04 0x05 0x06 0x07 | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters