zephyr/doc/build/dts
Bjarki Arge Andreasen 08d6ff059e scripts: dts: gen_defines: Generate interrupt-controller macro
Extend the gen_defines.py write_interrupts(node) function to
generate macros to get the interrupt controller for an
interrupt specifier by idx and by name.

The information is already generated by edtlib.py and stored in
node.interrupts[].controller. This addition uses the node pointed
to by the controller member to generate the following example output

define DT_N_S_device1_IRQ_IDX_0_CONTROLLER \
       DT_N_S_gpio_800

define DT_N_S_device1_IRQ_NAME_test4_CONTROLLER \
       N_S_device1_IRQ_IDX_0_CONTROLLER

Signed-off-by: Bjarki Arge Andreasen <bjarki@arge-andreasen.me>
2024-01-17 13:18:00 +01:00
..
api logging: uart: support multiple instances 2023-11-13 09:47:06 +01:00
api-usage.rst samples: fully migrate basic samples to the new Sphinx extension 2023-09-13 09:15:34 +02:00
bindings-intro.rst doc: dts: add missing entry to dts/bindings search path 2023-01-23 07:16:04 -08:00
bindings-syntax.rst doc: build: dts: bindings-syntax: compatible typo 2023-11-29 17:39:30 -08:00
bindings-upstream.rst doc: dts: document zephyr, prefix for props/compats 2023-01-23 07:16:04 -08:00
bindings.rst doc: dts: split up bindings docs 2023-01-23 07:16:04 -08:00
design.rst samples: fully migrate basic samples to the new Sphinx extension 2023-09-13 09:15:34 +02:00
dt-vs-kconfig.rst
howtos.rst doc: devicetree: Fix highlighting of code blocks 2023-10-18 13:22:45 +03:00
index.rst doc: dts: add guide to phandles 2023-01-23 07:16:04 -08:00
intro-input-output.rst doc: devicetree: Fix highlighting of code blocks 2023-10-18 13:22:45 +03:00
intro-scope-purpose.rst doc: dts: split up intro 2023-01-23 07:16:04 -08:00
intro-syntax-structure.rst doc: Fix occurrences of repeated words 2023-11-15 17:34:39 -05:00
intro.rst doc: dts: split up intro 2023-01-23 07:16:04 -08:00
macros.bnf scripts: dts: gen_defines: Generate interrupt-controller macro 2024-01-17 13:18:00 +01:00
main-example.dts
phandles.rst doc: dts: add guide to phandles 2023-01-23 07:16:04 -08:00
troubleshooting.rst doc: devicetree: Fix highlighting of code blocks 2023-10-18 13:22:45 +03:00
zephyr-user-node.rst doc: dts: improve zephyr-user-node.rst 2023-01-23 07:16:04 -08:00
zephyr_dt_build_flow.png
zephyr_dt_build_flow.svg
zephyr_dt_i2c_example.png doc: build: dts: Remove refs to label property 2022-08-18 19:50:39 -05:00
zephyr_dt_i2c_example.svg doc: build: dts: Remove refs to label property 2022-08-18 19:50:39 -05:00
zephyr_dt_i2c_high_level.png
zephyr_dt_i2c_high_level.svg
zephyr_dt_inputs_outputs.svg