zephyr/samples
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
..
application_development device: Fix structure attributes access 2020-05-08 23:07:44 +02:00
basic doc: blinky: touch up README 2020-05-06 17:25:49 +02:00
bluetooth device: Fix structure attributes access 2020-05-08 23:07:44 +02:00
boards samples: boards: mec15xxevb: Update power management test cases 2020-05-08 17:46:45 +02:00
cpp_synchronization kernel/timeout: Make timeout arguments an opaque type 2020-03-31 19:40:47 -04:00
display timeout: Fix up API usage 2020-03-31 19:40:47 -04:00
drivers devicetree: allow access to all nodes 2020-05-08 19:37:18 -05:00
hello_world doc: hello_world: touch up README 2020-05-06 17:25:49 +02:00
mpu drivers: flash: replace DT_FLASH_DEV_NAME with DT macro 2020-04-27 18:43:20 -05:00
net samples: net: google_iot: Clarify key type docs 2020-05-08 22:23:37 +02:00
nfc/nfc_hello timeout: Fix up API usage 2020-03-31 19:40:47 -04:00
philosophers samples: philosophers: remove systemview section from sample 2020-04-29 22:30:19 -04:00
portability samples: philosophers: Fix extra_args not used 2020-04-14 08:00:12 -04:00
posix samples: posix: gettimeofday: Make networking requirements explicit 2020-04-29 23:15:12 +03:00
scheduler kernel/timeout: Make timeout arguments an opaque type 2020-03-31 19:40:47 -04:00
sensor device: Fix structure attributes access 2020-05-08 23:07:44 +02:00
shields samples: x_nucleo_iks02a1: fix test identifier 2020-05-07 14:23:45 -04:00
smp cmake: use find_package to locate Zephyr 2020-03-27 16:23:46 +01:00
subsys device: Fix structure attributes access 2020-05-08 23:07:44 +02:00
synchronization timeout: Fix up API usage 2020-03-31 19:40:47 -04:00
testing/integration cmake: use find_package to locate Zephyr 2020-03-27 16:23:46 +01:00
userspace samples: prod_consumer: run faster 2020-05-05 18:28:59 -07:00
video drivers: video: mcux_csi: Convert driver to DT_INST macro 2020-04-20 11:08:46 -05:00
classic.rst doc: restructure and create index pages 2019-02-05 07:04:40 -05:00
index.rst samples: Add MetaIRQ dispatch sample 2020-02-06 23:06:28 -05:00