Command line build - doesn't compile file changes

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Command line build - doesn't compile file changes

892件の閲覧回数
davidyun
Contributor II

I have been running the following batch file script to build (custom configuration called TDD) and run a project through command line.

SET TOOLCHAIN_PATH=C:\nxp\MCUXpressoIDE_10.2.1_795\ide\tools\bin
SET IDE=C:\nxp\MCUXpressoIDE_10.2.1_795\ide\mcuxpressoidec.exe

"%IDE%" -nosplash --launcher.suppressErrors -application org.eclipse.cdt.managedbuilder.core.headlessbuild -cleanBuild Adti200Firmware/TDD

It runs fine but it doesn't recompile when I run again after changing some files. However, if I open up MCUXpresso and build TDD(custom configuration) it does RECOMPILE and gives right result. 

Log from command line:

09:11:48 **** Build of configuration TDD for project Adti200Firmware ****
make -j4 all
Running Adti200Micro_tests  --> Doesn't recomple but just run

Log from MCUXpresso when running the build:

08:10:22 **** Build of configuration TDD for project Adti200Firmware ****
make -j4 all
compiling HelloTest.cpp   --> Shows recompile
compiling initialiseSystem.c

0 件の賞賛
返信
1 返信

767件の閲覧回数
Carlos_Mendoza
NXP Employee
NXP Employee

Hi David,

Which MCU are you using? Does the same behavior is present with an unmodified new project?

Thanks in advance!

Best Regards,
Carlos Mendoza
Technical Support Engineer

0 件の賞賛
返信