08d6ff059e
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> |
||
---|---|---|
.. | ||
api | ||
api-usage.rst | ||
bindings-intro.rst | ||
bindings-syntax.rst | ||
bindings-upstream.rst | ||
bindings.rst | ||
design.rst | ||
dt-vs-kconfig.rst | ||
howtos.rst | ||
index.rst | ||
intro-input-output.rst | ||
intro-scope-purpose.rst | ||
intro-syntax-structure.rst | ||
intro.rst | ||
macros.bnf | ||
main-example.dts | ||
phandles.rst | ||
troubleshooting.rst | ||
zephyr-user-node.rst | ||
zephyr_dt_build_flow.png | ||
zephyr_dt_build_flow.svg | ||
zephyr_dt_i2c_example.png | ||
zephyr_dt_i2c_example.svg | ||
zephyr_dt_i2c_high_level.png | ||
zephyr_dt_i2c_high_level.svg | ||
zephyr_dt_inputs_outputs.svg |