Compiler syntax error for NXP files??

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

Compiler syntax error for NXP files??

2,105 次查看
pgillaspy
Contributor III

Below is the compiler errors encountered while compiling my program on CodeWarrior V11.1 with DSC QuickStart 2.7.3 for the 56F83789 processor.  The syntax error report is completely meaningless to me. This error is reported for virtually every freemaster.* source file. Please help interpret.

C:/Freescale/CW MCU v11.1/MCU/DSP56800x_EABI_Tools/command_line_tools/mwcc56800e|Compiler|Error
(C:\Users\PhilG\Hummingbird\MCE\MCESimplex\Simplex\SystemConfig\56F83789_Build_FLASH_LDM_LPM_OSJTAG.launch|1|0|1|0|1)
=<?xml version="1.0" encoding="UTF-8" standalone="no"?>
>declaration syntax error
>(included from:
> (command-line defines):1
> (C-C++ Preprocessor Panel):1
>
>C:\NXP\DSC56800EX_Quick_Start_r2.7\src\support\freemaster\freemaster_56F8xxx.c
>:1)
C:/Freescale/CW MCU v11.1/MCU/DSP56800x_EABI_Tools/command_line_tools/mwcc56800e|Compiler|Error
(C:\Users\PhilG\Hummingbird\MCE\MCESimplex\Simplex\SystemConfig\56F83789_Build_FLASH_LDM_LPM_OSJTAG.launch|1|0|1|0|1)
=<?xml version="1.0" encoding="UTF-8" standalone="no"?>
>declaration syntax error
>(included from:
> (command-line defines):1
> (C-C++ Preprocessor Panel):1
>
>C:\NXP\DSC56800EX_Quick_Start_r2.7\src\support\freemaster\freemaster_appcmd.c:
>1)
C:/Freescale/CW MCU v11.1/MCU/DSP56800x_EABI_Tools/command_line_tools/mwcc56800e|Compiler|Error
(C:\Users\PhilG\Hummingbird\MCE\MCESimplex\Simplex\SystemConfig\56F83789_Build_FLASH_LDM_LPM_OSJTAG.launch|1|0|1|0|1)
=<?xml version="1.0" encoding="UTF-8" standalone="no"?>
>declaration syntax error
>(included from:
> (command-line defines):1
> (C-C++ Preprocessor Panel):1
>
>C:\NXP\DSC56800EX_Quick_Start_r2.7\src\support\freemaster\freemaster_can.c:1)
C:/Freescale/CW MCU v11.1/MCU/DSP56800x_EABI_Tools/command_line_tools/mwcc56800e|Compiler|Error
(C:\Users\PhilG\Hummingbird\MCE\MCESimplex\Simplex\SystemConfig\56F83789_Build_FLASH_LDM_LPM_OSJTAG.launch|1|0|1|0|1)
=<?xml version="1.0" encoding="UTF-8" standalone="no"?>
>declaration syntax error
>(included from:
> (command-line defines):1
> (C-C++ Preprocessor Panel):1
>
>C:\NXP\DSC56800EX_Quick_Start_r2.7\src\support\freemaster\freemaster_fastrec.c
>:1)

0 项奖励
回复
4 回复数

2,087 次查看
xiangjun_rong
NXP TechSupport
NXP TechSupport

Hi,

If you create a project and generate code based QuickStart tools without Freemaster device, can you compile successfully?

From your description, it appears it is a compiler option problem.

If it is convenient, pls post your project to us so that we can have a test.

BTW, we have SDK package for MC56F83xxx, which is official code generating tools.

https://www.nxp.com/design/software/development-software/mcuxpresso-software-and-tools-/mcuxpresso-s...

Hope it can help you

BR

XiangJun Rong

 

0 项奖励
回复

2,083 次查看
pgillaspy
Contributor III

What do I need to do to compile without Freemaster? Delete the support/freemaster directory? Exclude support/freemaster from build?  Can you explain what Freemaster is?

0 项奖励
回复

2,078 次查看
xiangjun_rong
NXP TechSupport
NXP TechSupport

Hi,

The Freemaster tools is a tools run on PC side which can display  variables in customer application via uart, Jtag, CAN or whatever interface while the application is running in LPC/Kinetis/i.mxrt... family. 

If you do not need it, you can delete all the file in Freemaster directory.

You can download Freemaster tools from the link:

https://www.nxp.com/design/software/development-software/freemaster-run-time-debugging-tool:FREEMAST...

 

Hope it can hep you

BR

XiangJun Rong

0 项奖励
回复

1,988 次查看
pgillaspy
Contributor III

I deleted Freemaster stuff. All is well.

0 项奖励
回复