Skip to content

Commit ef79817

Browse files
kartbenMaureenHelm
authored andcommitted
dts: bindings: gnss: move DTS examples to examples: section
Use the new `examples` property to provide example usage in a more structured way. Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
1 parent eb16f05 commit ef79817

1 file changed

Lines changed: 10 additions & 10 deletions

File tree

dts/bindings/gnss/gnss-nmea-generic.yaml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -6,17 +6,17 @@ description: |
66
77
Implement a generic NMEA based GNSS device.
88
9-
Example configuration:
10-
11-
&uart0 {
12-
current-speed = <9600>;
13-
...
14-
gnss: gnss-nmea-generic {
15-
compatible = "gnss-nmea-generic";
16-
};
17-
};
18-
199
compatible: "gnss-nmea-generic"
2010

2111
include:
2212
- uart-device.yaml
13+
14+
examples:
15+
- |
16+
&uart0 {
17+
current-speed = <9600>;
18+
/* ... */
19+
gnss: gnss-nmea-generic {
20+
compatible = "gnss-nmea-generic";
21+
};
22+
};

0 commit comments

Comments
 (0)