The Autosar_OS MPC574xG_AUTOSAR_OS_4_0_92_RTM_1_0_3 package defines a number of compiler definitions

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

The Autosar_OS MPC574xG_AUTOSAR_OS_4_0_92_RTM_1_0_3 package defines a number of compiler definitions

467 Views
lubo_NEW
Contributor III

I want to compile the SAMPLE file inside. In the S32DS environment,
the DIAB compiler is used, but there are a lot of.h files about the compiler inside.
How to modify and debug the file correctly using the DIAB compiler,
and download it to the development board of MPC5748G to run2222.png

0 Kudos
1 Reply

449 Views
hungnguyenphi
NXP Employee
NXP Employee

Hello @lubo_NEW ,

These sample projects was not created for S32DS IDE. They are compiled by using CMD with makefile. Then you cannot compile the sample app in the S32DS.

So please follow steps in the UM to build the sample with CMD and make file. Then we will have the .elf file. After that we still can debug the .elf file with S32DS by:

+ Create a new example in S32DS for MPC5748G.

+ Change the path in the Debug window as the picture below:

hungnguyenphi_0-1614682395135.png

 

 

Best regards,

Hung

0 Kudos