zephyr/doc/build
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
..
cmake doc: Fix occurrences of repeated words 2023-11-15 17:34:39 -05:00
dts scripts: dts: gen_defines: Generate interrupt-controller macro 2024-01-17 13:18:00 +01:00
kconfig doc: Fix occurrences of repeated words 2023-11-15 17:34:39 -05:00
snippets scripts: snippets: add DTS_EXTRA_CPPFLAGS support 2023-08-02 16:27:11 +02:00
sysbuild doc: build: Fix highlighting of code blocks 2023-10-18 18:39:23 +03:00
version doc: build: Fix highlighting of code blocks 2023-10-18 18:39:23 +03:00
index.rst doc: build: Add details on application version system 2023-08-04 10:44:09 +02:00
zephyr_cmake_package.rst doc: build: Fix highlighting of code blocks 2023-10-18 18:39:23 +03:00