Skip to content

Commit df7f1ff

Browse files
soburiaescolar
authored andcommitted
tests: drivers: build_all: gnss: Add serial devices to build test
Add build tests for following devices. - luatos,air530z - quectel,lc86g - u-blox,m8 Signed-off-by: TOKITA Hiroshi <[email protected]>
1 parent 9905e27 commit df7f1ff

File tree

2 files changed

+17
-2
lines changed

2 files changed

+17
-2
lines changed

tests/drivers/build_all/gnss/app.overlay

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,22 @@
1414
reg = <0x0 0x1000>;
1515
status = "okay";
1616

17-
gnss: gnss-nmea-generic {
17+
gnss_nmea_generic: gnss-nmea-generic {
1818
compatible = "gnss-nmea-generic";
1919
};
20+
21+
gnss_air530z: air530z {
22+
compatible = "luatos,air530z";
23+
};
24+
25+
gnss_lc86g: lc86g {
26+
compatible = "quectel,lc86g";
27+
pps-mode = "GNSS_PPS_MODE_ENABLED";
28+
};
29+
30+
gnss_m8: m8 {
31+
compatible = "u-blox,m8";
32+
};
2033
};
2134
};
2235
};

tests/drivers/build_all/gnss/testcase.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,6 @@ common:
55
build_only: true
66
platform_allow: native_sim
77
tests:
8-
drivers.gnss.default: {}
8+
drivers.gnss.default:
9+
extra_configs:
10+
- CONFIG_PM_DEVICE=y

0 commit comments

Comments
 (0)