File tree Expand file tree Collapse file tree 2 files changed +22
-0
lines changed
tests/drivers/build_all/gnss Expand file tree Collapse file tree 2 files changed +22
-0
lines changed Original file line number Diff line number Diff line change 9
9
#address-cells = <1>;
10
10
#size-cells = <1>;
11
11
12
+ test_i2c: i2c@11112222 {
13
+ #address-cells = <1>;
14
+ #size-cells = <0>;
15
+ compatible = "zephyr,i2c-emul-controller";
16
+ reg = <0x11112222 0x1000>;
17
+ status = "okay";
18
+ clock-frequency = <100000>;
19
+
20
+ gnss_l96_i2c: l96@10 {
21
+ compatible = "quectel,l96";
22
+ pps-mode = "GNSS_PPS_MODE_ENABLED";
23
+ reg = <0x10>;
24
+ };
25
+ };
26
+
12
27
test_uart: uart@0 {
13
28
compatible = "vnd,serial";
14
29
reg = <0x0 0x1000>;
28
43
pps-mode = "GNSS_PPS_MODE_ENABLED";
29
44
};
30
45
46
+ gnss_l96: l96 {
47
+ compatible = "quectel,l96";
48
+ pps-mode = "GNSS_PPS_MODE_ENABLED";
49
+ };
50
+
31
51
gnss_m8: m8 {
32
52
compatible = "u-blox,m8";
33
53
};
Original file line number Diff line number Diff line change 1
1
CONFIG_SERIAL=y
2
2
CONFIG_UART_INTERRUPT_DRIVEN=y
3
3
CONFIG_GNSS=y
4
+ CONFIG_I2C=y
5
+ CONFIG_EMUL=y
You can’t perform that action at this time.
0 commit comments