The Autosar_OS MPC574xG_AUTOSAR_OS_4_0_92_RTM_1_0_3 package defines a number of compiler definitions

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

The Autosar_OS MPC574xG_AUTOSAR_OS_4_0_92_RTM_1_0_3 package defines a number of compiler definitions

478 次查看
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 项奖励
1 回复

460 次查看
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 项奖励