zephyr/scripts/dts
Ulf Magnusson 08484d0ac4 dts: gen_defines.py: Convert to use f-strings
Use f-strings instead of .format() to makes all the macro identifier and
multiline comment building easier to read.

f-strings were added in Python 3.6, which is required by Zephyr now.

Convert some

    ... + "_" + ...

string building to f-strings as well.

f-strings are a bit faster too (because they avoid format()/str()
lookups), though it's not likely to be noticeable here.

Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
2020-01-24 21:33:28 -05: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 scripts: dtlib/edtlib: Make output consistent on Python 3.5- 2019-11-12 17:57:50 -06:00
edtlib.py dts: edtlib: Improve error for wrong reg/ranges/interrupts size 2020-01-13 13:49:33 +01:00
gen_defines.py dts: gen_defines.py: Convert to use f-strings 2020-01-24 21:33:28 -05:00
grutils.py dts: grutils: Remove spaces before '(' in function definitions 2019-11-06 17:33:59 -08:00
test-multidir.dts scripts: dts: Add test for multiple binding directories 2019-08-03 14:17:49 -04:00
test.dts dts: edtlib: Add 'type: path' for path references 2020-01-08 08:02:00 -06:00
testdtlib.py scripts: edtlib: Add a Device.children attribute with child Devices 2019-09-21 09:10:36 -05:00
testedtlib.py dts: edtlib: Add helper for testing error messages and test _slice() 2020-01-13 13:49:33 +01:00