zephyr/scripts/dts
Kumar Gala 299bfd0553 scripts: dts: gen_defines: Fix issue if there are no compats
We get the following error:

  ValueError: max() arg is an empty sequence

if the compatiable section of the device tree is empty or doesn't exist.
Fix this by havingin max_len get a default value of 0.

Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
2020-03-26 03:22:49 -05:00
..
test-bindings
test-bindings-2
dtlib.py
edtlib.py edtlib: allow register addr / size to be None 2020-03-24 10:11:20 -05:00
gen_defines.py scripts: dts: gen_defines: Fix issue if there are no compats 2020-03-26 03:22:49 -05:00
gen_legacy_defines.py scripts: dts: write new gen_defines.py 2020-03-24 10:11:20 -05:00
grutils.py scripts: grutils: tweak sort keys to group siblings 2020-02-04 07:28:45 -06:00
test-multidir.dts
test.dts dts: edtlib: Turn Node.instance_no into EDT.compat2enabled 2020-01-29 09:46:38 -06:00
testdtlib.py
testedtlib.py edtlib: allow register addr / size to be None 2020-03-24 10:11:20 -05:00