zephyr/scripts/build
Gerard Marull-Paretas 7007451955 scripts: build: elf_parser: use node name for Graphviz diagrams
The elf_parser library now generates a dot file with device dependencies
that can be later rendered using Graphviz. Each node in the diagram
contains the device label (taken from DT node). In some cases the label
property can be None, leading to build failures like:

```
line 273, in device_dependency_graph
text = '{:s}\\nOrdinal: {:d} | Handle: {:d}\\n{:s}'.format(
TypeError: unsupported format string passed to NoneType.__format__
```

This patch switches to node name instead, which will always be set to
some value. This value is actually what devices get now as a name if
they do not have a label set.

Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
2022-08-04 18:36:35 +02:00
..
dir_is_writeable.py scripts: move dir_is_writeable.py to scripts/build 2022-07-12 10:03:45 +02:00
elf_parser.py scripts: build: elf_parser: use node name for Graphviz diagrams 2022-08-04 18:36:35 +02:00
file2hex.py scripts: move file2hex.py to scripts/build/file2hex.py 2022-07-12 10:03:45 +02:00
gen_app_partitions.py
gen_cfb_font_header.py scripts: move gen_cfb_font_header.py to scripts/build 2022-07-12 10:03:45 +02:00
gen_handles.py scripts: gen_handles: output dependency graph 2022-07-30 08:29:29 -05:00
gen_image_info.py scripts: move gen_image_info.py to scripts/build 2022-07-12 10:03:45 +02:00
gen_isr_tables.py scripts: move gen_isr_tables.py to scripts/build/gen_isr_tables.py 2022-07-12 10:03:45 +02:00
gen_kobject_list.py scripts: move gen_kobject_list.py to scripts/build/gen_kobject_list.py 2022-07-12 10:03:45 +02:00
gen_kobject_placeholders.py scripts: move gen_kobject_placeholders.py to scripts/build/ 2022-07-12 10:03:45 +02:00
gen_offset_header.py scripts: move gen_offset_header.py to scripts/build/ 2022-07-12 10:03:45 +02:00
gen_relocate_app.py scripts: move gen_relocate_app.py to scripts/build 2022-07-12 10:03:45 +02:00
gen_strerror_table.py scripts: move gen_strerror_table.py to scripts/build 2022-07-12 10:03:45 +02:00
gen_syscalls.py scripts: move gen_syscalls.py to scripts/build 2022-07-12 10:03:45 +02:00
mergehex.py scripts: move mergehex.py to scripts/build 2022-07-12 10:03:45 +02:00
parse_syscalls.py scripts: move parse_syscalls.py to scripts/build/ 2022-07-12 10:03:45 +02:00
process_gperf.py scripts: move process_gperf.py to scripts/build 2022-07-12 10:03:45 +02:00
subfolder_list.py scripts: move subfolder_list.py to scripts/build/subfolder_list.py 2022-07-12 10:03:45 +02:00
uf2conv.py scripts: move uf2conv.py to scripts/build/uf2conv.py 2022-07-12 10:03:45 +02:00
user_wordsize.py scripts: move user_wordsize.py to scripts/build/user_wordsize.py 2022-07-12 10:03:45 +02:00