Skip to content

Commit f1835dc

Browse files
committed
drivers: interrupt_controller: Update CMakeLists to fix build error
Now use the 5-parameter function "PINT_PinInterruptConfig" deprecated in MCUX SDK, need to add compile definition 'PINT_USE_LEGACY_CALBACK' to make intc_nxp_pint compatible with updated 'fsl_pint' driver. Signed-off-by: Zhaoxiang Jin <[email protected]>
1 parent 16ac605 commit f1835dc

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

drivers/interrupt_controller/CMakeLists.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,4 +60,8 @@ if(CONFIG_PLIC_SHELL)
6060
)
6161
endif()
6262

63+
if(CONFIG_NXP_PINT)
64+
zephyr_compile_definitions(PINT_USE_LEGACY_CALLBACK=1)
65+
endif()
66+
6367
zephyr_library_include_directories(${ZEPHYR_BASE}/arch/common/include)

0 commit comments

Comments
 (0)