Problem about AUTOSAR MPC5746R MCAL4.0

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Problem about AUTOSAR MPC5746R MCAL4.0

1,094件の閲覧回数
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 返答(返信)

759件の閲覧回数
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 件の賞賛
返信

759件の閲覧回数
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 件の賞賛
返信

759件の閲覧回数
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 件の賞賛
返信