Skip to content

Commit 1d3c710

Browse files
cameledMaureenHelm
authored andcommitted
samples: eeprom: add gd32f450i_eval board
Add gd32f450i_eval board with AT2402C eeprom. Signed-off-by: HaiLong Yang <[email protected]>
1 parent 4b38694 commit 1d3c710

File tree

3 files changed

+13
-1
lines changed

3 files changed

+13
-1
lines changed

samples/drivers/eeprom/README.rst

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,15 @@ as follows:
3434
:shield: x_nucleo_eeprma2
3535
:compact:
3636

37+
For :ref:`gd32f450i_eval` board. First bridge the JP5 to USART with the jumper cap,
38+
Then the sample can be built and executed for the as follows:
39+
40+
.. zephyr-app-commands::
41+
:zephyr-app: samples/drivers/eeprom
42+
:board: gd32f450i_eval
43+
:goals: build flash
44+
:compact:
45+
3746
Sample Output
3847
=============
3948

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
CONFIG_I2C=y
2+
CONFIG_EEPROM_AT24=y
3+
CONFIG_EEPROM_INIT_PRIORITY=75

samples/drivers/eeprom/sample.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ common:
1313
tests:
1414
sample.drivers.eeprom:
1515
tags: eeprom
16-
platform_allow: native_posix
16+
platform_allow: native_posix gd32f450i_eval
1717
sample.drivers.eeprom.shield.x_nucleo_eeprma2:
1818
tags: eeprom shield
1919
depends_on: arduino_gpio arduino_i2c arduino_spi

0 commit comments

Comments
 (0)