samples: eeprom: add gd32f450i_eval board

Add gd32f450i_eval board with AT2402C eeprom.

Signed-off-by: HaiLong Yang <cameledyang@pm.me>
This commit is contained in:
HaiLong Yang 2022-01-07 15:56:17 +08:00 committed by Maureen Helm
commit 1d3c710eaf
3 changed files with 13 additions and 1 deletions

View file

@ -34,6 +34,15 @@ as follows:
:shield: x_nucleo_eeprma2
:compact:
For :ref:`gd32f450i_eval` board. First bridge the JP5 to USART with the jumper cap,
Then the sample can be built and executed for the as follows:
.. zephyr-app-commands::
:zephyr-app: samples/drivers/eeprom
:board: gd32f450i_eval
:goals: build flash
:compact:
Sample Output
=============

View file

@ -0,0 +1,3 @@
CONFIG_I2C=y
CONFIG_EEPROM_AT24=y
CONFIG_EEPROM_INIT_PRIORITY=75

View file

@ -13,7 +13,7 @@ common:
tests:
sample.drivers.eeprom:
tags: eeprom
platform_allow: native_posix
platform_allow: native_posix gd32f450i_eval
sample.drivers.eeprom.shield.x_nucleo_eeprma2:
tags: eeprom shield
depends_on: arduino_gpio arduino_i2c arduino_spi