Command line build - doesn't compile file changes

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

Command line build - doesn't compile file changes

456 Views
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 Kudos
1 Reply

331 Views
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 Kudos