samples/drivers: led_pca9633: Replace target stm32373c_eval

Pinctrl is missing in i2c1 device description on stm32373c_eval
ovderlay file, besides using I2C1 this board (as mentioned in readme)
requires to remove 2 resistors on the board.

Make it simple and instead use a board with arduino_i2c port
available.

Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
This commit is contained in:
Erwan Gouriou 2021-11-24 09:50:25 +01:00 committed by Carles Cufí
parent 1eb28e7741
commit dd0b133a62
3 changed files with 6 additions and 6 deletions

View file

@ -19,17 +19,17 @@ following pattern:
Building and Running
********************
Build the application for the :ref:`stm32373c_eval_board` board, and connect
a PCA9633 LED driver on the bus I2C-1 at the address 0x62.
Build the application for the :ref:`nucleo_f334r8_board` board, and connect
a PCA9633 LED driver on the bus I2C Arduino.
.. zephyr-app-commands::
:zephyr-app: samples/drivers/led_pca9633
:board: stm32373c_eval
:board: nucleo_f334r8_board
:goals: build
:compact:
For flashing the application, refer to the Flashing section of the
:ref:`stm32373c_eval_board` board documentation.
:ref:`nucleo_f334r8_board` board documentation.
References
**********

View file

@ -1,6 +1,6 @@
/* SPDX-License-Identifier: Apache-2.0 */
&i2c1 {
&arduino_i2c {
status = "okay";
clock-frequency = <I2C_BITRATE_STANDARD>;

View file

@ -3,5 +3,5 @@ sample:
name: PCA9633 sample
tests:
sample.drivers.led.pca9633:
platform_allow: stm32373c_eval
depends_on: arduino_i2c
tags: LED