integrating MQX with PE

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

integrating MQX with PE

Jump to solution
1,350 Views
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!

Tags (2)
0 Kudos
1 Solution
954 Views
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

View solution in original post

0 Kudos
6 Replies
954 Views
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 Kudos
954 Views
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 Kudos
955 Views
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 Kudos
954 Views
manu_00
Contributor II

Hello,

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

Manu

0 Kudos
954 Views
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 Kudos
954 Views
manu_00
Contributor II

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

0 Kudos