Hi all,
I use CW11.1 new a MPC5604P project and build, it pop an error '### D:/Freescale/CW MCU v11.1/MCU/PA_Tools/Command_Line_Tools/mwcceppc Usage Error:
# Token 'equals' not expected', Could you help me solve the error, thanks.
Er
Hi Peter,
Thanks for you reply, the detailed error info as below:
**** Clean-only build of configuration RAM for project 5604P_Demo ****
Build complete for project 5604P_Demo
**** Build of configuration RAM for project 5604P_Demo ****
"D:\\Freescale\\CW MCU v11.1\\gnu\\bin\\mingw32-make" -j16 all
'Building file: ../Sources/Exceptions.c'
'Building file: ../Sources/IntcInterrupts.c'
'Building file: ../Sources/ivor_branch_table.c'
'Building file: ../Sources/main.c'
'Building file: ../Project_Settings/Startup_Code/MPC5604P_HWInit.c'
'Building file: ../Project_Settings/Startup_Code/MPC5604P_Startup.c'
'Building file: ../Project_Settings/Startup_Code/MPC5604P_init_ram.c'
'Building file: ../Project_Settings/Startup_Code/__ppc_eabi_init.c'
'Executing target #1 ../Sources/Exceptions.c'
'Executing target #2 ../Sources/IntcInterrupts.c'
'Executing target #3 ../Sources/ivor_branch_table.c'
'Executing target #4 ../Sources/main.c'
'Executing target #5 ../Project_Settings/Startup_Code/MPC5604P_HWInit.c'
'Executing target #6 ../Project_Settings/Startup_Code/MPC5604P_Startup.c'
'Executing target #7 ../Project_Settings/Startup_Code/MPC5604P_init_ram.c'
'Executing target #8 ../Project_Settings/Startup_Code/__ppc_eabi_init.c'
'Invoking: PowerPC Compiler'
'Invoking: PowerPC Compiler'
"D:/Freescale/CW MCU v11.1/MCU/PA_Tools/Command_Line_Tools/mwcceppc" @@"Sources/Exceptions.args" -o "Sources/Exceptions_c.obj" "../Sources/Exceptions.c" -MD -gccdep
"D:/Freescale/CW MCU v11.1/MCU/PA_Tools/Command_Line_Tools/mwcceppc" @@"Sources/IntcInterrupts.args" -o "Sources/IntcInterrupts_c.obj" "../Sources/IntcInterrupts.c" -MD -gccdep
'Invoking: PowerPC Compiler'
'Invoking: PowerPC Compiler'
"D:/Freescale/CW MCU v11.1/MCU/PA_Tools/Command_Line_Tools/mwcceppc" @@"Sources/ivor_branch_table.args" -o "Sources/ivor_branch_table_c.obj" "../Sources/ivor_branch_table.c" -MD -gccdep
'Invoking: PowerPC Compiler'
"D:/Freescale/CW MCU v11.1/MCU/PA_Tools/Command_Line_Tools/mwcceppc" @@"Sources/main.args" -o "Sources/main_c.obj" "../Sources/main.c" -MD -gccdep
'Invoking: PowerPC Compiler'
'Invoking: PowerPC Compiler'
"D:/Freescale/CW MCU v11.1/MCU/PA_Tools/Command_Line_Tools/mwcceppc" @@"Project_Settings/Startup_Code/MPC5604P_HWInit.args" -o "Project_Settings/Startup_Code/MPC5604P_HWInit_c.obj" "../Project_Settings/Startup_Code/MPC5604P_HWInit.c" -MD -gccdep
'Invoking: PowerPC Compiler'
"D:/Freescale/CW MCU v11.1/MCU/PA_Tools/Command_Line_Tools/mwcceppc" @@"Project_Settings/Startup_Code/MPC5604P_Startup.args" -o "Project_Settings/Startup_Code/MPC5604P_Startup_c.obj" "../Project_Settings/Startup_Code/MPC5604P_Startup.c" -MD -gccdep
"D:/Freescale/CW MCU v11.1/MCU/PA_Tools/Command_Line_Tools/mwcceppc" @@"Project_Settings/Startup_Code/MPC5604P_init_ram.args" -o "Project_Settings/Startup_Code/MPC5604P_init_ram_c.obj" "../Project_Settings/Startup_Code/MPC5604P_init_ram.c" -MD -gccdep
"D:/Freescale/CW MCU v11.1/MCU/PA_Tools/Command_Line_Tools/mwcceppc" @@"Project_Settings/Startup_Code/__ppc_eabi_init.args" -o "Project_Settings/Startup_Code/__ppc_eabi_init_c.obj" "../Project_Settings/Startup_Code/__ppc_eabi_init.c" -MD -gccdep
### D:/Freescale/CW MCU v11.1/MCU/PA_Tools/Command_Line_Tools/mwcceppc Usage Error:
# Token 'equals' not expected
### D:/Freescale/CW MCU v11.1/MCU/PA_Tools/Command_Line_Tools/mwcceppc Usage Error:
# Token 'equals' not expected
### D:/Freescale/CW MCU v11.1/MCU/PA_Tools/Command_Line_Tools/mwcceppc Usage Error:
# Token 'equals' not expected
### D:/Freescale/CW MCU v11.1/MCU/PA_Tools/Command_Line_Tools/mwcceppc Usage Error:
# Token 'equals' not expected
### D:/Freescale/CW MCU v11.1/MCU/PA_Tools/Command_Line_Tools/mwcceppc Usage Error:
# Token 'equals' not expected
### D:/Freescale/CW MCU v11.1/MCU/PA_Tools/Command_Line_Tools/mwcceppc Usage Error:
# Token 'equals' not expected
### D:/Freescale/CW MCU v11.1/MCU/PA_Tools/Command_Line_Tools/mwcceppc Usage Error:
### D:/Freescale/CW MCU v11.1/MCU/PA_Tools/Command_Line_Tools/mwcceppc Usage Error:
# Token 'equals' not expected
# Token 'equals' not expected
Errors caused tool to abort.
Errors caused tool to abort.
Errors caused tool to abort.
Errors caused tool to abort.
Errors caused tool to abort.
Errors caused tool to abort.
mingw32-make: *** [Project_Settings/Startup_Code/MPC5604P_init_ram_c.obj] Error 1
mingw32-make: *** Waiting for unfinished jobs....
mingw32-make: *** [Sources/Exceptions_c.obj] Error 1
mingw32-make: *** [Project_Settings/Startup_Code/MPC5604P_HWInit_c.obj] Error 1
Errors caused tool to abort.
Errors caused tool to abort.
mingw32-make: *** [Project_Settings/Startup_Code/MPC5604P_Startup_c.obj] Error 1
mingw32-make: *** [Sources/main_c.obj] Error 1
mingw32-make: *** [Project_Settings/Startup_Code/__ppc_eabi_init_c.obj] Error 1
mingw32-make: *** [Sources/ivor_branch_table_c.obj] Error 1
mingw32-make: *** [Sources/IntcInterrupts_c.obj] Error 1
Best regards
Hello,
Could you possibly start with disabling parallel compilation. This will help to identify which specific source file that is causing the error:
Please sent us build listing after this change.
Also this error might be caused by an additional character in project paths:
hope it helps.
Stan
Hello,
could you post a screenshot of the error?
Best regards,
Peter