MC56F84763 compiler -PC-lint plus

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

MC56F84763 compiler -PC-lint plus

1,728 Views
BobZgl
Contributor I

MC56F84763 use mwcc56800e-mwasm56800e-mwld56800e to compile project. Whether I can use GNU GCC compiler Tool like arm-none-eabi-gcc-4_7_3 to compiler the project.
Why I want to change to GNU GCC compiler, it is because of that 56800E Tool it is not support for PC-lint Plus

0 Kudos
6 Replies

1,712 Views
xiangjun_rong
NXP TechSupport
NXP TechSupport

Hi,

Because the MC56F800EX only adds the 32bit*32bit =64 bits operation instructions, which is independent part, so there is not dedicated compiler for 56800EX core, the compiler is based on 56800E core.

If you want to tell the compiler to use DSP56800EX core, you can use the compiler option:

7.5.11 -V3
Generates an elf file for 56800EX digital signal controller.
Syntax
-V3

For detailed information, pls refer to above section in MCU_DSC_Compiler.pdf from the directory if you have installed CodeWarrior for MCU ver

.......\CW MCU v11.1\MCU\Help\PDF

 

Hope it can help you

BR

XiangJun Rong

 

0 Kudos

1,636 Views
BobZgl
Contributor I

 

Hi Xiangjun,

 It look like 56800/E Digital Signal Controllers doesn't support PC-Lint plus, the problem is that the compiler doesn't  provide an option to get the macros that the compiler defines by default.

Do you have any suggestions for static analysis of the MC56F84763 Project completion code
 
 
Bob
0 Kudos

1,718 Views
Lorenzo_Mch_IT
Contributor IV

As far I know, there is no GCC version supporting 56800EX cores (used by MC56F84763).
There is only the (previously Metrowerks) NXP toolchain available for it.

0 Kudos

1,666 Views
BobZgl
Contributor I

According to GNU GCC using "gcc -dM -E -xc /dev/null" to print macro expansion, we can get compiler defined macros. What option to use DSP56800x_EABI_Tools to get compiler defined macros?

0 Kudos

1,664 Views
Lorenzo_Mch_IT
Contributor IV

AFAIK there is no equivalent to those GCC options.

0 Kudos

1,655 Views
BobZgl
Contributor I

Thanks for you reply

0 Kudos