AnsweredAssumed Answered

Command-line execution of KDS

Question asked by Ole Asbjorn Fadum on May 27, 2015
Latest reply on May 29, 2015 by Joe Seymour

Hi,

 

Using KDS-3.0, Win7-64

 

I want to make the KSDK libraries by a script. Then the participants on my project doesn't have to know the ins and out of KSDK building, but could just start a script and remake the wanted libraries.

I have used good old 'make' for a while, but the problem is that I have to open all projects first to get the makefiles generated, what I really want is to run KDS in command-line mode.

 

So I'm trying to make the freertos (as an example), the project is located here:

...\KSDK\V_1.2.0\lib\ksdk_freertos_lib\kds\K64F12

 

According to some notes on the web I've tried this:

    ...\KSDK\V_1.2.0\lib\ksdk_freertos_lib\kds\K64F12>C:\Freescale\KDS_3.0.0\eclipse\eclipsec -nosplash -application org.eclipse.cdt.managedbuilder.core.headlessbuild -build all -data ./x

 

The output is promising:

    Building All Projects...

    Building workspace

 

BUT!! When importing the project into KDS, I see there is two targets:

    debug

    release

 

And the command-line run has NOT created the 'release' version.

My intention is to create a temporary place for a workspace ('x'), and make both versions.

 

Anyone has input of the correct flags to eclipsec.exe ?

Outcomes