Skip to content

Commit d7034e0

Browse files
ExaltZephyrkartben
authored andcommitted
tests: drivers: i2c: Enable i2c2 for nucleo_u083rc board.
This commit enables I2C2 on nucleo_u083rc board for i2c_target_api test. Signed-off-by: Mohammad Badawi <[email protected]> Signed-off-by: Sara Touqan <[email protected]>
1 parent fb5c4c9 commit d7034e0

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,10 @@
2222
};
2323

2424
&i2c2 {
25+
pinctrl-0 = <&i2c2_scl_pa7 &i2c2_sda_pa6>;
26+
pinctrl-names = "default";
27+
status = "okay";
28+
clock-frequency = <I2C_BITRATE_FAST>;
2529
eeprom1: eeprom@56 {
2630
compatible = "zephyr,i2c-target-eeprom";
2731
reg = <0x56>;

0 commit comments

Comments
 (0)