zephyr/scripts/dts
Martí Bolívar 0985849aa2 edtlib: use standard logging module
The edtlib strategy for emitting warnings is to print directly to
standard error. This in turn requires hacks to drop stored references
to stderr in various _warn_file attributes so the EDT objects can be
pickled.

In general, I think it's not really appropriate for library modules
like edtlib to be printing to stderr directly. The user should be able
to configure logging for general utility data munging modules like
this as they please, and not just deciding what file to print to.

Move this around so the standard logging module is used instead. We
can preserve backwards compatibility in gen_defines by customizing the
'edtlib' logging module behavior so it prints the exact same thing it
always has.

Signed-off-by: Martí Bolívar <marti.bolivar@nordicsemi.no>
2020-12-13 19:25:24 -05:00
..
test-bindings edtlib: improve enum support 2020-12-13 19:25:24 -05:00
test-bindings-2 scripts: edtlib.py: Deprecate 'title:' 2019-12-18 11:52:45 +01:00
dtlib.py scripts: dts: convert test suites to pytest 2020-10-02 11:51:15 +02:00
edtlib.py edtlib: use standard logging module 2020-12-13 19:25:24 -05:00
gen_defines.py edtlib: use standard logging module 2020-12-13 19:25:24 -05:00
grutils.py scripts: grutils: tweak sort keys to group siblings 2020-02-04 07:28:45 -06:00
test-multidir.dts scripts: dts: Add test for multiple binding directories 2019-08-03 14:17:49 -04:00
test.dts edtlib: improve enum support 2020-12-13 19:25:24 -05:00
testdtlib.py scripts: dts: convert test suites to pytest 2020-10-02 11:51:15 +02:00
testedtlib.py edtlib: use standard logging module 2020-12-13 19:25:24 -05:00