Split long arrays into multiple lines to improve readability of the output DTS file. A new line is started when the array data exceeds 80 characters. Add a few test entries to verify the new behavior. Note: the F821 linter suppression prevents flagging 'array_start' and 'array_newline' as undefined variables. This is because these variables are initialized when an opening brace is output, which is necessarily before any element in a byte or prop array. A sequence of markers not following this pattern would indicate a bug in the DTS parsing code. Signed-off-by: Luca Burelli <l.burelli@arduino.cc> |
||
---|---|---|
.. | ||
test-bindings | ||
test-bindings-2 | ||
test-bindings-include | ||
test-bindings-init | ||
test-wrong-bindings | ||
test-multidir.dts | ||
test.dts | ||
test_dtlib.py | ||
test_edtlib.py | ||
test_edtlib_binding_init.py |