zephyr/scripts/dts/python-devicetree/src/devicetree
Casper Meijn d25e5c20a0 scripts: dts: Produce error for invalid yaml
I made an alignment error in a dts binding, but the build was
successful. After some debugging I found the following warning
explaining the problem:

  '/home/casper/src/zephyrproject/zephyr/dts/bindings/gpio/
       gpio-keys.yaml' appears in binding directories but isn't valid
       YAML: while parsing a block mapping
    in "<unicode string>", line 11, column 8
  did not find expected key
    in "<unicode string>", line 18, column 9

I think this should be an error as there shouldn't be any invalid yaml.

Signed-off-by: Casper Meijn <casper@meijn.net>
2021-06-14 10:36:27 -05:00
..
__init__.py
dtlib.py dtlib: type annotate DT fields and public methods 2021-05-05 13:13:12 -05:00
edtlib.py scripts: dts: Produce error for invalid yaml 2021-06-14 10:36:27 -05:00
grutils.py