How to relocate the ConfigTools .Mex file?

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

How to relocate the ConfigTools .Mex file?

1,641件の閲覧回数
jmreina
Contributor III

How do you relocate the MCUXpresso ConfigTools configuration file to a subdirectory? There is a setting in the Overview View -

    NXP Q.png

That doesn't persist and it keeps creating new .MEX files at the base of the project

 

Is it possible to relocate the MEX?

0 件の賞賛
返信
2 返答(返信)

1,630件の閲覧回数
liborukropec
NXP Employee
NXP Employee

Hi,

 

few comments

1. you are in the MCUXpresso IDE section, but based on the screenshot you are using stand-alone Config Tools.

2. the mentioned button that "does not persist" is for one-time-only importing configuration from another project, it is not about "moving" MEX

 

Since version 14.0 (stand-alone only) there's a possibility to have mex somewhere else. For example I have toolchain project in the `c:\temp\hello_world` folder, including MEX.

liborukropec_0-1693571696778.png

 

Suppose I want MEX it in this subdirectory: c:\temp\hello_world\sub_dir

1. create sub_dir and move the mex there

2. open mex from this location

3. go to Edit | Configuration Preferences and set ".." to the `Custom toolchain project link`, confirm dialog

liborukropec_1-1693571818790.png

Of course you can specify an absolute path as well.

4. Lets see the Overview view

liborukropec_2-1693571911906.png

 

if you "Update Code", it updates in toolchain folder, even MEX is somewehere else.

 

Hope it helps.

Regards,

Libor

1,623件の閲覧回数
jmreina
Contributor III

I appreciate the quick response Libor, thank you. We are using v11.7.0 here, I will check here next I think 'Update Code' was my missing step

Thanks!

0 件の賞賛
返信