6744d6084d
At present, many of the NXP S32 shim drivers do not make use of devicetree instance-based macros because the NXP S32 HAL relies on an index-based approach, requiring knowledge of the peripheral instance index during both compilation and runtime, and this index might not align with the devicetree instance index. The proposed solution in this patch eliminates this limitation by determining the peripheral instance index during compilation through macrobatics and defining the driver's ISR within the shim driver itself. Note that for some peripheral instances is needed to redefine the HAL macros of the peripheral base address, since the naming is not uniform for all instances. Signed-off-by: Manuel Argüelles <manuel.arguelles@nxp.com> |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
Kconfig | ||
Kconfig.ambiq | ||
Kconfig.andes_atcwdt200 | ||
Kconfig.cc13xx_cc26xx | ||
Kconfig.cc32xx | ||
Kconfig.cmsdk_apb | ||
Kconfig.dw | ||
Kconfig.esp32 | ||
Kconfig.gd32 | ||
Kconfig.gecko | ||
Kconfig.ifx_cat1 | ||
Kconfig.intel_adsp | ||
Kconfig.it8xxx2 | ||
Kconfig.mcux | ||
Kconfig.mcux_imx | ||
Kconfig.npcx | ||
Kconfig.npm1300 | ||
Kconfig.npm6001 | ||
Kconfig.nrfx | ||
Kconfig.nxp_fs26 | ||
Kconfig.nxp_s32 | ||
Kconfig.opentitan | ||
Kconfig.rpi_pico | ||
Kconfig.sam | ||
Kconfig.sam0 | ||
Kconfig.shell | ||
Kconfig.sifive | ||
Kconfig.smartbond | ||
Kconfig.stm32 | ||
Kconfig.tco | ||
Kconfig.ti_tps382x | ||
Kconfig.xec | ||
Kconfig.xlnx | ||
Kconfig.xmc4xxx | ||
wdt_ambiq.c | ||
wdt_andes_atcwdt200.c | ||
wdt_cc13xx_cc26xx.c | ||
wdt_cc32xx.c | ||
wdt_cmsdk_apb.c | ||
wdt_counter.c | ||
wdt_dw.c | ||
wdt_dw.h | ||
wdt_dw_common.c | ||
wdt_dw_common.h | ||
wdt_esp32.c | ||
wdt_fwdgt_gd32.c | ||
wdt_gecko.c | ||
wdt_handlers.c | ||
wdt_ifx_cat1.c | ||
wdt_intel_adsp.c | ||
wdt_intel_adsp.h | ||
wdt_ite_it8xxx2.c | ||
wdt_iwdg_stm32.c | ||
wdt_iwdg_stm32.h | ||
wdt_mchp_xec.c | ||
wdt_mcux_imx_wdog.c | ||
wdt_mcux_wdog.c | ||
wdt_mcux_wdog32.c | ||
wdt_mcux_wwdt.c | ||
wdt_npcx.c | ||
wdt_npm1300.c | ||
wdt_npm6001.c | ||
wdt_nrfx.c | ||
wdt_nxp_fs26.c | ||
wdt_nxp_fs26.h | ||
wdt_nxp_s32.c | ||
wdt_opentitan.c | ||
wdt_rpi_pico.c | ||
wdt_sam.c | ||
wdt_sam0.c | ||
wdt_shell.c | ||
wdt_sifive.c | ||
wdt_smartbond.c | ||
wdt_tco.c | ||
wdt_ti_tps382x.c | ||
wdt_wwdg_stm32.c | ||
wdt_wwdg_stm32.h | ||
wdt_wwdgt_gd32.c | ||
wdt_xilinx_axi.c | ||
wdt_xmc4xxx.c |