integrating MQX with PE

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

integrating MQX with PE

跳至解决方案
3,921 次查看
manu_00
Contributor II

hey,

I have the following problem: I want to add MQX with Processor Expert. So i create an pe project, goto Operating System and rightclick on MXQ --> add to project. Now I want to build the project to see if everything has worked fine. But I get the following error message

the file 'mqx.h' cannot be opened    PE_LDD.c    /PE/Generated_Code    line 22    C/C++ Problem

I have no idea what to do because I am new to PE and I havent had any comparrable issues before.

Do you have any suggestions?

Thanks!

标记 (2)
0 项奖励
回复
1 解答
3,525 次查看
CrasyCat
Specialist III

Hello

  Just my 2 cents on this one.

  I am not an MQX specialist, but did you check if the path to the MQX header file have been added to the include paths?

The include paths are specified in the project settings dialog. The page where you can adjust them depends on the processor you are targeting.

If you are developing for Kinetis, the paths can be added to Arm ltd windows GCC C Compiler > Directories page.

If you are building for Coldfire, the paths can be added to the ColdFire Compler > Input page.

CrasyCat

在原帖中查看解决方案

0 项奖励
回复
6 回复数
3,525 次查看
BlackNight
NXP Employee
NXP Employee

Hello,

have you generated code? Right click on the ProcessorExpert.pe and choose 'Generate Code'.

Hope this helps,

Erich

0 项奖励
回复
3,525 次查看
manu_00
Contributor II

Hey Erich,

thanks for your answer. UNfortunetely that isn’t the problem. I have generated the code before. It only occurs when I am adding the OS module…

Von: Erich Styger mailto:admin@community.freescale.com

Gesendet: Montag, 29. Oktober 2012 16:35

An: Gerstner, Manuel

Betreff: Re: Processor Expert Software - integrating MQX with PE

Freescale Community<https://community.freescale.com/index.jspa>

integrating MQX with PE

created by Erich Styger<https://community.freescale.com/people/BlackNight> in Processor Expert Software - View the full discussion<https://community.freescale.com/message/305188#305188>

0 项奖励
回复
3,526 次查看
CrasyCat
Specialist III

Hello

  Just my 2 cents on this one.

  I am not an MQX specialist, but did you check if the path to the MQX header file have been added to the include paths?

The include paths are specified in the project settings dialog. The page where you can adjust them depends on the processor you are targeting.

If you are developing for Kinetis, the paths can be added to Arm ltd windows GCC C Compiler > Directories page.

If you are building for Coldfire, the paths can be added to the ColdFire Compler > Input page.

CrasyCat

0 项奖励
回复
3,525 次查看
manu_00
Contributor II

Hello,

thanks for the answer. Where can I find the include paths?

Manu

0 项奖励
回复
3,525 次查看
vfilip
NXP Employee
NXP Employee

Hello,

right click on the project and use Properties menu command to access Project settings. The option you need should be available within "C/C++ Build" -> "Settings" menu. Details are attached.

best regards

Vojtech Filip

Processor Expert Support Team


0 项奖励
回复
3,525 次查看
manu_00
Contributor II

Thank you! the path is added but i still havbe the sam e problem...

0 项奖励
回复