BSP cloning wizard fails when MQX install path contains a dash character

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

BSP cloning wizard fails when MQX install path contains a dash character

跳至解决方案
2,032 次查看
keno
Contributor II

There is a problem with the BSP Cloning Wizard when the MQX install path contains a "-" (dash) character.

In the image below the actual installation path of MQX is "c:\dev-tools\freescale\mqx_4_1", however the Cloning Wizard incorrectly parses the path to "C:\dev-".  I copied MQX to a different folder name and the Cloning Wizard operates normally.

mqx_path.png

bsp_clone_path_problem.png

0 项奖励
回复
1 解答
1,808 次查看
RadekS
NXP Employee
NXP Employee

Note: In fact problem wasn't with dash character in MQX installation path, but with word "tools" (BSP Cloning Wizard is located in "../MQX_4_x/tools/" directory) and this caused problem in wrong parsing of the MQX location. It was fixed (change will be applied from MQX 4.1.2).

I hope it helps you.

Have a great day,

RadekS

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

在原帖中查看解决方案

0 项奖励
回复
6 回复数
1,808 次查看
matthewkendall
Contributor V

I know from bitter experience that there is also a problem if the chosen "custom board name" contains a dash. This is because that name is used in many places, including in generated code, and dash is not valid in a C identifier. The cloning wizard doesn't warn about this and generates code that won't compile.

1,808 次查看
RadekS
NXP Employee
NXP Employee

Note: Thank you for notification. It was fixed – it will not possible create board name with dash character (change will be applied from MQX 4.1.2).

0 项奖励
回复
1,808 次查看
RadekS
NXP Employee
NXP Employee

Thank you for your bug report.

I will report it.

Just for sure, did you install “MQX 4.1.1 Cloning Wizard Patch”?

Freescale MQX™ Software Solutions|Freescale


Have a great day,
RadekS

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 项奖励
回复
1,808 次查看
keno
Contributor II

I'm presently using MQX 4.1 and have not applied the “MQX 4.1.1 Cloning Wizard Patch”.

I'm using a custom BSP and it seems migrating to a newer version of MQX is not a trivial task.  I'm in the process of reviewing release notes and the MQX forum to gain a better understanding of how to migrate.

0 项奖励
回复
1,809 次查看
RadekS
NXP Employee
NXP Employee

Note: In fact problem wasn't with dash character in MQX installation path, but with word "tools" (BSP Cloning Wizard is located in "../MQX_4_x/tools/" directory) and this caused problem in wrong parsing of the MQX location. It was fixed (change will be applied from MQX 4.1.2).

I hope it helps you.

Have a great day,

RadekS

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 项奖励
回复
1,808 次查看
keno
Contributor II

RadekS Thanks for the prompt feedback.  Much appreciated.

0 项奖励
回复