Skip to content

Commit f59f1b3

Browse files
committed
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 <[email protected]>
1 parent d9a1b82 commit f59f1b3

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

samples/drivers/led_pca9633/README.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,17 +19,17 @@ following pattern:
1919
Building and Running
2020
********************
2121

22-
Build the application for the :ref:`stm32373c_eval_board` board, and connect
23-
a PCA9633 LED driver on the bus I2C-1 at the address 0x62.
22+
Build the application for the :ref:`nucleo_f334r8_board` board, and connect
23+
a PCA9633 LED driver on the bus I2C Arduino.
2424

2525
.. zephyr-app-commands::
2626
:zephyr-app: samples/drivers/led_pca9633
27-
:board: stm32373c_eval
27+
:board: nucleo_f334r8_board
2828
:goals: build
2929
:compact:
3030

3131
For flashing the application, refer to the Flashing section of the
32-
:ref:`stm32373c_eval_board` board documentation.
32+
:ref:`nucleo_f334r8_board` board documentation.
3333

3434
References
3535
**********

samples/drivers/led_pca9633/boards/stm32373c_eval.overlay renamed to samples/drivers/led_pca9633/app.overlay

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/* SPDX-License-Identifier: Apache-2.0 */
22

3-
&i2c1 {
3+
&arduino_i2c {
44
status = "okay";
55
clock-frequency = <I2C_BITRATE_STANDARD>;
66

samples/drivers/led_pca9633/sample.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@ sample:
33
name: PCA9633 sample
44
tests:
55
sample.drivers.led.pca9633:
6-
platform_allow: stm32373c_eval
6+
depends_on: arduino_i2c
77
tags: LED

0 commit comments

Comments
 (0)