Problem about AUTOSAR MPC5746R MCAL4.0

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

Problem about AUTOSAR MPC5746R MCAL4.0

1,349 次查看
qiaodeng
Contributor II

Hi,

     I am using  AUTOSAR MPC5746R MCAL4.0 swv: 1.0.1 RTM_HF5  to develop a project. Now I have configured the module like Adc, Dio using EB tresos, which has generated many configuration file.  But I don't know how to compile these .c and .h files to generate the elf file and download it to my MCU. What kind of compiler should I use? I have installed S32 Design Studio and GreenHills. Is there any sample project for MCAL? 

 

Thanks in advance,

Qiao

标签 (1)
标记 (2)
0 项奖励
回复
3 回复数

1,014 次查看
petervlna
NXP TechSupport
NXP TechSupport

Hi,

I recommend you to use greenhills compiler.

AUTOSAR itself contain example projects.

You have to include your *c and *h files to you compiler and set all required precompile settings for compiler.

Peter

0 项奖励
回复

1,014 次查看
qiaodeng
Contributor II

Hi Peter,

   I didn't find any example project in the MPC5746R MCAL4.0 file, there are only plugins.  And could you please describe the required precompile settings more specifically? 

   Really appreciate for your help.

Qiao

0 项奖励
回复

1,014 次查看
petervlna
NXP TechSupport
NXP TechSupport

The examples are part of MCAL package.

After compilation compiler will ask you to defines precompile symbols, etc...

It vary project from project, so there is no general recommendation. Just follow messages from compiler and configure it according to your needs.

0 项奖励
回复