hi Jerry
thanks for your mqx on linux host help document
do you have help doc for full compilation/build of mqx libraries in codewarrior eclipse version on linux host
can all the MQX example projects compile and run on ubuntu linux host?
request you to please share it
thanking you very much indeed
Rev 0.1 //15.03.2011
Hello.
Work with the MQX in Linux is easy.
Requirements:
- MQX 3.6.2 Windows version.
- CodeWarrior 10.0 Linux version (! not CodeWarrior 10.1, the plugin not working)
- Ubuntu 10.10 or similar.
Step1:
Install CW10.0.
{$CW_INSTALL_PATH} - your installation path.
Step2:
Install MQX 3.6.2 in your configuration.
Install use windows hosted machine or Linux hosted machine use Wine.
{$MQX_INSTALL_PATH} - your installation path.
Step 3:
If required, copy you MQX directory into your work directory.
{$MQX_INSTALL_PATH} - your MQX path.
Step 4:
Copy all *.jar files from
“{$MQX_INSTALL_PATH}/tools/codewarrior_extensions/CW MCU v10.0/eclipse/dropins”
to
“{$CW_INSTALL_PATH}/eclipse/plugins” and extract the contents of plugin name directory.
Example:
copy:
{$MQX_INSTALL_PATH}/tools/codewarrior_extensions/CW MCU v10.0/eclipse/dropins/com.freescale.mcu.mqxprojectwizard1.mqx3.6_1.0.0.jar
{$CW_INSTALL_PATH}/eclipse/plugins/com.freescale.mcu.mqxprojectwizard1.mqx3.6_1.0.0.jar
extract into:
{$CW_INSTALL_PATH}/eclipse/plugins/com.freescale.mcu.mqxprojectwizard1.mqx3.6_1.0.0/
Step 5:
Copy directory
“{$MQX_INSTALL_PATH}/tools/codewarrior_extensions/CW MCU v10.0/MCU”
into
“{$CW_INSTALL_PATH}/MCU/”
Step 6:
Open in gedit
“{$CW_INSTALL_PATH}/eclipse/plugins/com.freescale.mcu.mqxprojectwizard1.mqx3.6_1.0.0/plugin.xml
CTRL+H, for simplicity replase ALL “\” to “/”.
Step 7:
Open in gedit
“{$CW_INSTALL_PATH}/MCU/lib/wizard_data/mqx/3.6/cw_mqx_path.xml”
replase <variable name="mqx_path" value="C:\Program Files\Freescale\Freescale MQX 3.6" />
value=”your valid MQX full path” <- your valid MQX path {$MQX_INSTALL_PATH}
Example:
<variable name="mqx_path" value="/home/ryslan/Freescale/Freescale MQX 3.6" />
Step 8:
Remove directory:
“{$CW_INSTALL_PATH}/eclipse/configuration/org.eclipse.core.runtime”
Result:
You can correctly create and build the MQX project.
If you want to edit an existing MQX project (created in Windows wersion), you must:
Step 1:
Open file in gedit
“{$YOU_CW10.0_PROJECT_DIRECTORY}/.project”
CTRL+H, for simplicity replase ALL “\” to “/”.
replase MQX_PATH value your valid MQX path <value> {$MQX_INSTALL_PATH} </value>
<variable>
<name>MQX_PATH</name>
<value>/home/ryslan/Freescale/Freescale MQX 3.6</value>
</variable>
Step 2:
Open file in gedit
“{$YOU_CW10.0_PROJECT_DIRECTORY}/.cproject”
CTRL+H, for simplicity replase ALL “\” to “/”.
Full rebuild MQX libraries currently only supported in Windows version, simple rebild work in Linux.
For use Windows rebuild libraries, only copy build (!!!CW10) MQX lib derictory into {$MQX_INSTALL_PATH}/lib
Plans:
- Create project for Full rebuild MQX libraries in Linux (requires correction postbuild scripts).
- Create CW auto tune script.
- Create MQX build for Linux (rebuild windows version).
say questions and comments.
P.S. Sorry for bad English.
hi
thanks for your mqx on linux host help document
do you have help doc for full compilation/build of mqx libraries in codewarrior eclipse version on linux host
request you to please share it
thanking you very much indeed