Hello,
I have recently migrated to the latest RTD (S32K1_S32M24x Real-Time Drivers ASR R21-11 Version 2.0.0 QLP1) using the S32DS (v3.5.13) IDE.
When I initiated a build of my existing project I received a bunch of Linker error messages that look like
/PATH/to/s32ds.3.5/s32ds/build_tools/gcc_v9.2/gcc-9.2-arm32-eabi/bin/../lib/gcc/arm-none-eabi/9.2.0/../../../../arm-none-eabi/bin/real-ld.exe: ./RTD/src/SchM_Adc.o: in function `SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_00':
/PATH/to/project/Debug_FLASH/../RTD/src/SchM_Adc.c:587: undefined reference to `Adc_schm_read_msr'
for the following RTD drivers:

When I look inside the SchM_Adc.c file at line 587 as the error message suggests I see that different implementations for the function definition
uint32 Adc_schm_read_msr(void)
{
/* ... */
}
exist and are guarded by C macros, such as _GCC_C_S32K1XX_ and others.
I looked at the implementation of a previous RTD version and noticed that the _LINARO_C_S32K1XX_ macro is replaced now by _GCC_C_S32K1XX_. The header file of the current RTD
- /PATH\to\S32DS.3.5\S32DS\software\PlatformSDK_S32K1_S32M24\RTD\BaseNXP_TS_T40D2M20I0R0\include\CompilerDefinition.h
also mentions just the _LINARO_C_S32K1XX_ macro and not the _GCC_C_S32K1XX_.
Am I right to suggest that this is a bug in the current RTD version? If not may you suggest how to solve this Linker issue.
Best regards
M_SCH