Using MQX 3.6.2 + CW10(Linux) in Linux

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Using MQX 3.6.2 + CW10(Linux) in Linux

3,267件の閲覧回数
JerryR
Contributor II
Hello. If interested, I can prepare the information how to use the MQX + CW10 (Linux) in Linux.
0 件の賞賛
返信
7 返答(返信)

1,493件の閲覧回数
jaleel
Contributor I

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 

0 件の賞賛
返信

1,493件の閲覧回数
JerryR
Contributor II

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.

0 件の賞賛
返信

1,493件の閲覧回数
jaleel
Contributor I

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 

0 件の賞賛
返信

1,493件の閲覧回数
trusc
Contributor II

Hi Jerry

 

I notice that you mention Ubuntu 10.10. Do you actually use CW10 on Ubuntu 10.10 for debugging? If so, how did you get around the CW10 USB driver problems in Ubuntu?

 

Chris

0 件の賞賛
返信

1,493件の閲覧回数
RuiFaria
Contributor III

From where can i download cw 10.0? it is only available the version 10.1 of CW10 Eclipse IDE. :smileyfrustrated:

0 件の賞賛
返信

1,493件の閲覧回数
JerryR
Contributor II

Freescale download link:

CodeWarrior_10.0_Linux

0 件の賞賛
返信

1,493件の閲覧回数
JWW
Contributor V

JerryR,

 

We get questions on this sometimes.  Might be good for the community.

If you want to help, I'd be happy to make it a sticky thread at the top so that people can see your how-to.

 

JWW

0 件の賞賛
返信