Skip to content

Commit d28e89e

Browse files
committed
tests: drivers: nucleo_u385rg_q: update i2c and dac tests drivers
- add dac1 node and disable spi1 node - update i2c3 node and disable spi1 node Signed-off-by: Ulrich KAMDEM <kamdemulricharmel@gmail.com>
1 parent 433893e commit d28e89e

File tree

2 files changed

+23
-0
lines changed

2 files changed

+23
-0
lines changed
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
/*
2+
* Copyright (c) 2025 STMicroelectronics
3+
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*/
6+
7+
&dac1 {
8+
status = "okay";
9+
pinctrl-0 = <&dac1_out1_pa4>;
10+
pinctrl-names = "default";
11+
};
12+
13+
&spi1 {
14+
status = "disabled";
15+
};

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)