Building MQX libraries in Code Warrior 10.x

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

Building MQX libraries in Code Warrior 10.x

跳至解决方案
1,951 次查看
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 项奖励
回复
1 解答
882 次查看
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 项奖励
回复
1 回复
883 次查看
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 项奖励
回复