Command line build - doesn't compile file changes

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

Command line build - doesn't compile file changes

895 次查看
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 回复

770 次查看
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 项奖励
回复