Skip to content

Commit 49c15bc

Browse files
ulrich-a11-ycfriedt
authored andcommitted
tests: drivers: nucleo_u385rg_q: update i2c tests drivers
Enable and add pinctrl for the I2C3 node, and disable the SPI1 node since it is enabled by default on this board (via the Arduino connector), which causes a conflict with the I2C3 pinctrl configuration. Signed-off-by: Ulrich KAMDEM <kamdemulricharmel@gmail.com>
1 parent 926efb8 commit 49c15bc

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

tests/drivers/i2c/i2c_target_api/boards/nucleo_u385rg_q.overlay

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@
1414
*/
1515

1616
&i2c3 {
17+
pinctrl-0 = <&i2c3_scl_pa7 &i2c3_sda_pc1>;
18+
pinctrl-names = "default";
19+
status = "okay";
20+
1721
eeprom0: eeprom@54 {
1822
compatible = "zephyr,i2c-target-eeprom";
1923
reg = <0x54>;
@@ -28,3 +32,7 @@
2832
size = <256>;
2933
};
3034
};
35+
36+
&spi1 {
37+
status = "disabled";
38+
};

0 commit comments

Comments
 (0)