zephyr/doc
Martí Bolívar 74abb2bf95 devicetree: add first-class node label helpers
Add the following new macros:

- DT_FOREACH_NODELABEL
- DT_FOREACH_NODELABEL_VARGS
- DT_INST_FOREACH_NODELABEL
- DT_INST_FOREACH_NODELABEL_VARGS

These are for-each helpers for iterating over the node labels of a
devicetree node. Since node labels are unique in the entire
devicetree, their token representations can be useful as unique IDs in
code as well.

As a first user of these, add:

- DT_NODELABEL_STRING_ARRAY
- DT_INST_NODELABEL_STRING_ARRAY

The motivating use case for these macros is to allow looking up a
struct device by devicetree node label in Zephyr shell utilities.
The work on the shells themselves is deferred to other patches.

To make working with the string array helpers easier, add:

- DT_NUM_NODELABELS
- DT_INST_NUM_NODELABELS

Signed-off-by: Martí Bolívar <mbolivar@amperecomputing.com>
2024-06-12 18:49:54 +02:00
..
_doxygen include/zephyr: Add 'version' and 'since' tag to groups 2024-03-19 13:13:45 +01:00
_extensions/zephyr doc: _extensions: support snippets option 2024-03-26 11:14:46 -05:00
_scripts doc: _scripts: gen_devicetree_rest: extra folders 2024-06-12 14:30:14 +03:00
_static doc: Make search engine configurable 2023-12-15 04:34:48 -05:00
_templates doc: Make search engine configurable 2023-12-15 04:34:48 -05:00
build devicetree: add first-class node label helpers 2024-06-12 18:49:54 +02:00
connectivity net: conn_mgr: Add IPv4 and IPv6 tracking 2024-06-10 00:59:34 -07:00
contribute doc: update charter link 2024-06-11 20:24:02 +03:00
develop doc: flash_debug: update NXP flash debug probes section 2024-06-11 19:45:34 -04:00
hardware docs: Move sensor.rst to sensor/index.rst 2024-06-05 17:38:56 -05:00
images
introduction doc: clarify what a subsystem is 2024-05-14 10:55:55 +02:00
kernel doc: kernel: fix improper Sphinx C domain usage 2024-06-07 16:48:14 +03:00
project doc: tsc role and working group definition 2024-06-11 20:24:02 +03:00
releases doc: update release notes 2024-06-12 01:53:58 -07:00
safety
security doc: vuln: Add CVE under embargo 2024-06-11 20:31:28 +03:00
services docs: pm: fix broken link to power domain tests 2024-06-12 12:49:00 -04:00
templates
404.rst
CMakeLists.txt doc: pdf: add ImageMagick converter extension 2024-06-10 14:58:16 +03:00
conf.py doc: pdf: add ImageMagick converter extension 2024-06-10 14:58:16 +03:00
glossary.rst doc: clarify what a subsystem is 2024-05-14 10:55:55 +02:00
index-tex.rst doc: pdf: Add Glossary of Terms to PDF output 2023-11-13 12:17:51 -05:00
index.rst
kconfig.rst
known-warnings.txt
LICENSING.rst docs: licensing: update list of 3rd party code licensed under GPL 2024-02-23 18:27:32 +01:00
Makefile
requirements.txt doc: requirements: Add pyserial 2024-05-23 17:02:27 -04:00
substitutions.txt
zephyr.doxyfile.in doc: expand ZTEST macros in doxygen 2024-04-23 21:46:38 +00:00