zephyr/scripts/dts
Peter A. Bigot f62ae3e8ef scripts/dts/gen_defines.py: generate initializers for phandle/val lists
When a phandle-array (compound) has multiple members generate a define
that says how many there are; generate an initializer for each
individual member; and generate an initializer for the sequence of
members.

This allows drivers that expect multiple values in a compound to process
them without horrendous conditional compilation code attempting to
detect the number of elements in the compound.

It also eliminates the need to repeat the long prefix when initializing
a structure with the fields of a single compound.

Signed-off-by: Peter A. Bigot <pab@pabigot.com>
2019-09-12 13:31:48 -05:00
..
extract scripts: dts: Fix generation of single-value phandle/value array 2019-09-09 14:15:44 -05:00
test-bindings scripts: edtlib: Make order irrelevant when including multiple files 2019-09-11 07:50:30 -05:00
test-bindings-2 scripts: dts: Simplify and improve 'compatible' matching 2019-09-07 10:25:02 -05:00
devicetree.py scripts: dts: devicetree.py: Fix pylint warning for iffy \w escape 2019-09-07 10:25:02 -05:00
dtlib.py scripts: dtlib: Suppress _init_tokens() pylint warning 2019-09-07 10:25:02 -05:00
edtlib.py scripts: edtlib: Make order irrelevant when including multiple files 2019-09-11 07:50:30 -05:00
extract_dts_includes.py scripts: dts: Fix wrong filename in 'include:' code in old scripts 2019-09-10 11:34:03 -05:00
gen_defines.py scripts/dts/gen_defines.py: generate initializers for phandle/val lists 2019-09-12 13:31:48 -05:00
test-multidir.dts scripts: dts: Add test for multiple binding directories 2019-08-03 14:17:49 -04:00
test.dts scripts: edtlib: Make order irrelevant when including multiple files 2019-09-11 07:50:30 -05:00
testdtlib.py scripts: dtlib: Add test for untested /memreserve/ error 2019-09-07 10:25:02 -05:00
testedtlib.py dts: edtlib: Support giving missing properties a default value 2019-09-09 08:47:49 -05:00