zephyr/scripts
Martí Bolívar 7e0eed9235 devicetree: allow access to all nodes
Usually, we want to operate only on "available" device
nodes ("available" means "status is okay and a matching binding is
found"), but that's not true in all cases.

Sometimes we want to operate on special nodes without matching
bindings, such as those describing memory.

To handle the distinction, change various additional devicetree APIs
making it clear that they operate only on available device nodes,
adjusting gen_defines and devicetree.h implementation details
accordingly:

- emit macros for all existing nodes in gen_defines.py, regardless
  of status or matching binding
- rename DT_NUM_INST to DT_NUM_INST_STATUS_OKAY
- rename DT_NODE_HAS_COMPAT to DT_NODE_HAS_COMPAT_STATUS_OKAY
- rename DT_INST_FOREACH to DT_INST_FOREACH_STATUS_OKAY
- rename DT_ANY_INST_ON_BUS to DT_ANY_INST_ON_BUS_STATUS_OKAY
- rewrite DT_HAS_NODE_STATUS_OKAY in terms of a new DT_NODE_HAS_STATUS
- resurrect DT_HAS_NODE in the form of DT_NODE_EXISTS
- remove DT_COMPAT_ON_BUS as a public API
- use the new default_prop_types edtlib parameter

Signed-off-by: Martí Bolívar <marti.bolivar@nordicsemi.no>
2020-05-08 19:37:18 -05:00
..
checkpatch
ci ci: changes to python requirements should not trigger sanitycheck 2020-05-06 11:07:22 -05:00
coccinelle scripts/coccinelle: rename and extend ms to timeout conversion script 2020-05-07 19:46:03 +02:00
dts devicetree: allow access to all nodes 2020-05-08 19:37:18 -05:00
footprint
gitlint
kconfig kconfig: add dt_chosen_path() helper 2020-04-28 12:11:14 -05:00
net scripts: net: Add SOCKS 5 to MQTT TLS sample test 2020-04-28 10:29:17 +03:00
release
sanity_chk sanitycheck: raise exception on bad exclusion in ztest 2020-05-07 14:24:02 -04:00
support
tests/sanitycheck
tracing
west_commands scripts: west: add CANopen flash runner 2020-05-08 10:53:42 +02:00
.gitignore
checkpatch.pl scripts: checkpatch: Revert dt-binding vendor prefix check regex change 2020-05-06 12:40:35 +02:00
checkstack.pl
coccicheck scripts: Fix documunt referenc for coccicheck 2020-05-08 17:44:44 +02:00
dir_is_writeable.py
file2hex.py
filter-known-issues.py
gen_app_partitions.py
gen_cfb_font_header.py scripts: gen_cfb_font_header: extend to additional representations 2020-04-27 13:27:03 +02:00
gen_gcov_files.py
gen_kobject_list.py scripts: Fix gen_kobject_list.py to fit with device refactoring 2020-05-08 23:07:44 +02:00
gen_offset_header.py
gen_relocate_app.py
gen_syscalls.py
mergehex.py
parse_syscalls.py
process_gperf.py
requirements-base.txt scripts: west: add CANopen flash runner 2020-05-08 10:53:42 +02:00
requirements-build-test.txt
requirements-doc.txt ci: do not use latest breathe release for docs 2020-04-07 18:51:13 -04:00
requirements-extras.txt
requirements-run-test.txt requirements: add psutil, needed by sanitycheck 2020-05-06 11:07:22 -05:00
requirements.txt
sanitycheck sanitycheck: raise exceptions on bad test names 2020-05-07 14:23:45 -04:00
series-push-hook.sh
spelling.txt
subfolder_list.py python: subfolder_list.py now generates shorter link names 2020-04-22 17:24:04 +02:00
tags.sh
valgrind.supp
west-commands.yml
zephyr_module.py