Currently it is tedious to know the level of an interrupt for a node in C. One would have to go through a very complex and error prone macros to check if there's a parent interrupt controller & if the controller has an interrupt number and thus not a pseudo interrupt controller like the one found in `rv32m1`. The level of a node is required to encode the Zephyr's multi-level interrupt number Since it is easier to do it in the `gen_defines` script, let's do the heavy lifting there so that we can introduce new DT macros to get the interrupt level very easily later. Signed-off-by: Yong Cong Sin <ycsin@meta.com> |
||
|---|---|---|
| .. | ||
| 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_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 | ||
| zephyr-user-node.rst | ||