CODEWARRIOR 10.2 with MQX 4.2 - Error >Token 'equals' not expected

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

CODEWARRIOR 10.2 with MQX 4.2 - Error >Token 'equals' not expected

1,016 次查看
simonegaligani
Contributor I

I'm using CODEWARRIOR 10.2 with MQX 4.2 recompiling my BSP I get the following error

"C:/Programmi/Freescale/CW MCU v10.2/MCU/ColdFire_Tools/Command_Line_Tools/mwccmcf|Usage|Error >Token 'equals' not expected"

 

can anyone help me ?

Simone

标签 (1)
0 项奖励
回复
2 回复数

921 次查看
trytohelp
NXP Employee
NXP Employee

Hi,

You're using CW for MCU V10.2 dev tools.

MQX V4.2 is the last version.

This MQX release was tested with CW for MCU V10.6.

Regarding the problem.

I found an interesting info in our data base.
Please have a look below:
+++++++++++++++++++++++++++++++++++++
In the project "properties > C/C++Build > Tool Settings >  ColdFire Compiler > Input panel" where one can specify User  Recursive Path, if one uses a variable and then

checks the  box that says Relative To: then building will utterly fail.

The console returns non sequitur results:

### C:/Freescale/CW MCU
v10.2/MCU/ColdFire_Tools/Command_Line_Tools/mwccmcf
Usage Error:
#  Specified directory 'S:\Nexus\Development" -I- -
IC:/Freescale/CW' not
#  found
#  Operating system error:
#  The specified path is invalid.
### C:/Freescale/CW MCU
v10.2/MCU/ColdFire_Tools/Command_Line_Tools/mwccmcf
Usage Error:
#  Token 'equals' not expected

By checking Relative To, it changes the Directory from:
"${SRC_HOME}"
to
"${SRC_HOME}\"
which is what creates the problem.

Removing the trailing backslash provides a workaround.
  +++++++++++++++++++++++++++++++++++++

Hope this will help.


Have a great day,
Pascal
Freescale Technical Support
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 项奖励
回复

921 次查看
simonegaligani
Contributor I

Thanks for the help,

I thought there might be a problem of paths, so I tried to install the 10.6 Codewarrior version and

the problem disappears..

I hope to overcome the porting problems and I will pass directly to the new Codewarrior version..

Best Regards,

Simone

0 项奖励
回复