zephyr/scripts/dts
Ulf Magnusson c9ac5e60e3 dts: dtlib: Remember the format of assignments
Previously, dtlib just stored the raw 'bytes' value for each property,
along with some markers in Property._markers for phandle and path
references.

Extend Property._markers to also remember where different data blocks
start, so that e.g.

    foo = <1 2 3>, "bar", [00 01];

can be reproduced as written.

Use the new information to reproduce properties as written in
Property.__str__(). This gives good test coverage as well, since the
test suite checks literal __str__() output.

Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
2019-08-13 07:41:45 -05:00
..
extract dts: riscv: Add sifive,plic-1.0.0 binding and fix riscv,ndev values 2019-08-02 11:44:09 +02:00
test-bindings scripts/dts: add basic test for IO channel property 2019-08-09 13:16:09 -05:00
test-bindings-2 scripts: dts: Add test for multiple binding directories 2019-08-03 14:17:49 -04:00
devicetree.py scripts: dts: Consistently open text files with utf-8. 2019-08-05 17:47:57 -04:00
dtlib.py dts: dtlib: Remember the format of assignments 2019-08-13 07:41:45 -05:00
edtlib.py scripts/dts: Support 'io-channels' property just like 'pwms' 2019-08-09 13:16:09 -05:00
extract_dts_includes.py scripts/dts: Fix detection of a GPIO specifier 2019-08-07 13:15:51 -04:00
gen_defines.py scripts/dts/gen_defines.py: Fix generation for multiple PWMs 2019-08-12 17:42:15 +02:00
test-multidir.dts scripts: dts: Add test for multiple binding directories 2019-08-03 14:17:49 -04:00
test.dts scripts/dts: add basic test for IO channel property 2019-08-09 13:16:09 -05:00
testdtlib.py dts: dtlib: Remember the format of assignments 2019-08-13 07:41:45 -05:00
testedtlib.py scripts/dts: add basic test for IO channel property 2019-08-09 13:16:09 -05:00