Building MQX libraries in Code Warrior 10.x

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

Building MQX libraries in Code Warrior 10.x

Jump to solution
1,721 Views
chris2012
Contributor II

I'm a novice at most of this. I'm trying to get an MQX project to compile on CW10.2. The instructions in the MQX documentation describe the path where the "build Libs.mcp project is in order to build the libraries, but when I go there, I see two folders: one for CWC7 which contains "build_m52235evb_libs.mcp which will not import into CW10.2 and the CW10 folder only has a .wsd file in it.

How do I build the MQX libraries in CW10.2

0 Kudos
Reply
1 Solution
652 Views
Martin_
NXP Employee
NXP Employee

Starting from Freescale MQX 3.8, there is an easy way with the .wsd file. The actual release version due Oct/2012 is Freescale MQX 3.8.1. The way I usually build MQX 3.8.1 library files in CW 10.2 is described below:

1. I find the .wsd file for my board in the Freescale MQX config directory. For example, for m52235evb that would be:

"c:\Freescale\Freescale MQX 3.8\config\m52235evb\cw10\m52235evb.wsd"

2. I drag and drop this .wsd file into CodeWarrior MCU 10.2 "CodeWarrior Projects" window.

At this point, the Eclipse opens all projects specified by the .wsd file: psp, bsp, mfs, rtcs, shell, (and usb host, usb device libraries in case there is USB hardware module on an MCU).

2012-10-05-m5223evb_mqx_build.gif

3. now select the Debug or Release build target in the combo box on toolbar and click on the hammer icon.

The build process starts.

The steps are described in the document "FSL MQX Getting Started" that you can find in Documentation folder of your Freescale MQX installation directory, in the chapter 2 Building the MQX Libraries.

View solution in original post

0 Kudos
Reply
1 Reply
653 Views
Martin_
NXP Employee
NXP Employee

Starting from Freescale MQX 3.8, there is an easy way with the .wsd file. The actual release version due Oct/2012 is Freescale MQX 3.8.1. The way I usually build MQX 3.8.1 library files in CW 10.2 is described below:

1. I find the .wsd file for my board in the Freescale MQX config directory. For example, for m52235evb that would be:

"c:\Freescale\Freescale MQX 3.8\config\m52235evb\cw10\m52235evb.wsd"

2. I drag and drop this .wsd file into CodeWarrior MCU 10.2 "CodeWarrior Projects" window.

At this point, the Eclipse opens all projects specified by the .wsd file: psp, bsp, mfs, rtcs, shell, (and usb host, usb device libraries in case there is USB hardware module on an MCU).

2012-10-05-m5223evb_mqx_build.gif

3. now select the Debug or Release build target in the combo box on toolbar and click on the hammer icon.

The build process starts.

The steps are described in the document "FSL MQX Getting Started" that you can find in Documentation folder of your Freescale MQX installation directory, in the chapter 2 Building the MQX Libraries.

0 Kudos
Reply