Hello,
Does anyone know if S32k14x SDK startup code supports C++ with IAR ARM compiler? I ran into a compile error,
Fatal error[Lp049]: there was no reference to __iar_data_init3, but it is needed to call extra init routines
There is a global C++ object in the source code,
CdevSigma SigmaDsp0(&dspdataConfigDsp0a, &dspdataConfigDsp0a, &dspHwConfigDsp0);
if remove it, the error is gone.
And the startup code and link file for IAR are used,
S32SDK_S32K14x_RTM_2.0.0\platform\devices\S32K146\linker\iar\S32K146_128_flash.icf
S32SDK_S32K14x_RTM_2.0.0\platform\devices\S32K146\startup\iar\startup_S32K146.s
S32SDK_S32K14x_RTM_2.0.0\platform\devices\startup.c
Thanks,
Leo