zephyr/scripts/dts/extract
Ulf Magnusson 50ab1d8e5f scripts/dts: Clean up create_reduced()
- Remove dead "if 'props' in nodes" check

 - Rename the 'nodes' parameter to 'node'. It represents a single node.

 - Use a defaultdict(int) for 'last_used_id' (makes unset keys give 0)

 - Use a global for 'last_used_id'

 - Move some related code so it appears together

Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
2019-02-20 12:17:31 -06:00
..
__init__.py
clocks.py scripts/dts/extract: Generate unique defines based on compat & instance 2019-01-14 06:33:29 -06:00
compatible.py scripts/dts: Rename convert_string_to_label() to str_to_label() 2019-02-07 10:39:37 +01:00
default.py scripts/dts: Rename convert_string_to_label() to str_to_label() 2019-02-07 10:39:37 +01:00
directive.py scripts/dts: Rename convert_string_to_label() to str_to_label() 2019-02-07 10:39:37 +01:00
flash.py scripts/dts/extract: Fix how we determine DT_FLASH_AREA_<X>_DEV 2019-02-14 05:13:35 -06:00
globals.py scripts/dts: Clean up create_reduced() 2019-02-20 12:17:31 -06:00
interrupts.py scripts/dts: Rename convert_string_to_label() to str_to_label() 2019-02-07 10:39:37 +01:00
pinctrl.py scripts/dts: Rename convert_string_to_label() to str_to_label() 2019-02-07 10:39:37 +01:00
reg.py scripts/dts/extract: Fix producing bogus alias if reg has no size 2019-02-08 22:39:07 -06:00