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
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!
-----------------------------------------------------------------------------------------------------------------------
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