pc-lint Error 309: #error "No valid CPU defined!

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

pc-lint Error 309: #error "No valid CPU defined!

1,165 Views
richardwan9667
Contributor I


hello, s32k144 Team!

 

         I install pc-lint in S32 Design according to Linting without a plugin | MCU on Eclipse ,  ADD the 3 files do_lint.bat,  proj_files.lnt ,proj_options.lnt in floder ${proj_paht}/lint ,the project base s32k144

mcu , build the project , show this error.

         Why build pc-lint show this error, but in reality my project gcc build  is ok ,no error . can you help me ?

 

18:13:04 **** Incremental Build of configuration S32K144PCLINT for project AMCs32k144 ****
"D:\\bc_PRJ\\B02\\DeliveryBosch_V48_1210\\lint\\do_lint.bat" D:/bc_PRJ/B02/DeliveryBosch_V48_1210 C:/NXP/AMMCLIB/S32K14x_AMMCLIB_v1.1.19

C:\NXP\S32DS_ARM_v2018.R1\eclipse>SET PROJ_PATH=D:/bc_PRJ/B02/DeliveryBosch_V48_1210

C:\NXP\S32DS_ARM_v2018.R1\eclipse>SET CW_PATH=C:/NXP/AMMCLIB/S32K14x_AMMCLIB_v1.1.19

C:\NXP\S32DS_ARM_v2018.R1\eclipse>SET LINT_EXE=C:\lint\lint-nt.exe

C:\NXP\S32DS_ARM_v2018.R1\eclipse>SET LOCAL_LNT_FILES=C:\lint\lnt

C:\NXP\S32DS_ARM_v2018.R1\eclipse>SET PROJ_LINT_PATH=D:/bc_PRJ/B02/DeliveryBosch_V48_1210\lint

C:\NXP\S32DS_ARM_v2018.R1\eclipse>SET LNT_INCLUDES=-i"C:\lint\lnt" "C:\lint\lnt\co-mwhc08.lnt" -iC:\lint\lnt

C:\NXP\S32DS_ARM_v2018.R1\eclipse>C:\lint\lint-nt.exe -i"C:\lint\lnt" "C:\lint\lnt\co-mwhc08.lnt" -iC:\lint\lnt D:/bc_PRJ/B02/DeliveryBosch_V48_1210\lint\proj_options.lnt D:/bc_PRJ/B02/DeliveryBosch_V48_1210\lint\proj_files.lnt -vf
PC-lint for C/C++ (NT) Vers. 9.00a, Copyright Gimpel Software 1985-2008

--- Module: D:\bc_PRJ\B02\DeliveryBosch_V48_1210\Sources\main.c (C)


D:\bc_PRJ\B02\DeliveryBosch_V48_1210\SDK\platform\devices\device_registers.h:353:6: Error 309: #error "No valid CPU defined!"

 

 

 

 

0 Kudos
Reply
0 Replies