Hello:
I use S32 IDE compilation and develop the application, and the underlying driver uses mcal(RTD).I encountered a precompile error,as shown below:
please tell me How to solve it? Thank you very much.
development tool:
IDE: S32DS for S32 platform 3.4
RTD: SW32K1_RTD_4.4_1.0.0
Please try adding Service pack 1, or confirming your path as in this community post: S32DS 3.4: Program "arm-none-eabi-g++" not found in PATH - NXP Community
Best regards,
Julián
Hi @liuhao11,
Could you please share some information about the project firstly?
Is this based on an example or is it a new project? If it is a new project, could you share how was it created? As well as what packages you have installed, and their versions.
Errors such as this appear because of mismatched versions on different packages throughout the project.
Best regards,
Julián.
hello
This is the package that I installed.
To create a project, proceed as follows:
1 use the IDE to create new projects.(compiler NXP GCC 9.2 for arm)
2 Add EB configuration tool generation code to src file
3 Added mcal static code to src file.
4 Add the header path and compile
Then the above error is then reported.
#error "AutoSar Version Numbers of Port_Ci_Port_Ip.h and Devassert.h are different"
please help me.thank you.
Hi @liuhao11,
Thank you for the information and for sharing the project. I will try to compile the project.
Best regards,
Julián.
Hi @liuhao11,
Please help me updating your packages to a newer version, either from "help -> S32DS extensions and updates" or downloading and adding the Update Sites directly. If updating to the latest version on the drivers does not work, you can disable the intermodule check in the Mcal header file as such:
#define DISABLE_MCAL_INTERMODULE_ASR_CHECK
Best regards,
Julián.