I'm migrating from K1( with S32SDK_S32K1xx_RTM_3.0.0) to K3(with SW32K3_RTD_4.4_1.0.0).
I see "interrupt_manager.h" in K1 is same as "IntCtrl_Ip.h" in K3, functions:
INT_SYS_SetPriority = IntCtrl_Ip_SetPriority
INT_SYS_InstallHandler = IntCtrl_Ip_InstallHandler
....
but, INT_SYS_EnableIRQGlobal, INT_SYS_DisableIRQGlobal functions I can't see any functions in K3 is the same. Who can help me do this ?
Hello @AnhNguyenDuc,
I see that the drivers call OsIf_SuspendAllInterrupts() on enterring a critical section.
Regards,
Daniel
Yes, but I got the error when I using this function
error: implicit declaration of function 'OsIf_SuspendAllInterrupts' [-Werror=implicit-function-declaration]
325 | OsIf_SuspendAllInterrupts();
My project has the header (OsIf_internal.h)
Hello @AnhNguyenDuc,
I just tries with the Power_Ip_Example_S32K344.
Without adding anything to the project, I can compile the OsIf_SuspendAllInterrupts() function in main.c
Can check on your side?
BR, Daniel