zephyr/scripts/dts
Ulf Magnusson 35166c45d9 dts: edtlib/gen_defines: Fix API design re. dtc flags
It's better to allow per-instance EDT configuration than to set a global
variable on the edtlib module. Enable/disable the warning for reg/unit
address mismatches via a flag to EDT.__init__(), instead of via a global
variable. That makes it consistent too.

Another option would be to pass the 'dtc' flags to EDT.__init__(), but
it makes the interface a bit ugly. Maybe if it needs to emulate lots of
other flags later.

Clarify that edtlib itself isn't meant to have any state in the comment
at the top of the module.

Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
2020-03-11 07:59:38 -06:00
..
test-bindings dts: edtlib: Add 'type: path' for path references 2020-01-08 08:02:00 -06:00
test-bindings-2 scripts: edtlib.py: Deprecate 'title:' 2019-12-18 11:52:45 +01:00
dtlib.py
edtlib.py dts: edtlib/gen_defines: Fix API design re. dtc flags 2020-03-11 07:59:38 -06:00
gen_defines.py dts: edtlib/gen_defines: Fix API design re. dtc flags 2020-03-11 07:59:38 -06: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 dts: edtlib: Turn Node.instance_no into EDT.compat2enabled 2020-01-29 09:46:38 -06:00