S32 DS for S32 platform and S32K148 MCAL

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

S32 DS for S32 platform and S32K148 MCAL

4,471 Views
liuhao11
Contributor I

Hello:

   I use S32 IDE compilation and develop the application, and the underlying driver uses mcal(RTD).I encountered a precompilerror,as shown below:  

e612cded-69a9-4f69-b871-dfe6f9b19fd9.png

 be21c08c069c6dee8f35ef98d41f099.pngc48e0e0aac071a30ee000574bba6e92.png

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

Tags (1)
0 Kudos
Reply
7 Replies

3,888 Views
nirmal_masilamani
Contributor IV

Hi ,

In S32 DS with MCAL DIO_Example project. I am facing build error. Please find the attached image.

0 Kudos
Reply

3,882 Views
Julián_AragónM
NXP TechSupport
NXP TechSupport

Hi @nirmal_masilamani,

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 

0 Kudos
Reply

4,429 Views
Julián_AragónM
NXP TechSupport
NXP TechSupport

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. 

0 Kudos
Reply

4,418 Views
liuhao11
Contributor I

hello 

  This is the package that I installed.

677ab48931b6c5375c10ffe75f1a303.pngefb111ac5be005d0d2ead844f84b967.png

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

7ff084df8cab81cedde583376c53c4b.png99c2fa160874bc8599abbef86f4bc5d.png463fb21c15b81c8f18d60447b62264e.png37405d1a6dee1cf4ede1bed05e9a299.png

3  Added mcal static code to src file.

8a2f9280c77e91c2b780bd567ae5823.png

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.

0 Kudos
Reply

4,416 Views
liuhao11
Contributor I

 

Hello 

Attached is the project that I compiled and reported errors.

Thank you.

0 Kudos
Reply

4,393 Views
Julián_AragónM
NXP TechSupport
NXP TechSupport

Hi @liuhao11,

Thank you for the information and for sharing the project. I will try to compile the project.

Best regards,
Julián.

0 Kudos
Reply

4,352 Views
Julián_AragónM
NXP TechSupport
NXP TechSupport

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.

0 Kudos
Reply