Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Xilinx SDK (Eclipse) project command line build

I have an Xilinx SDK workspace with: - hardware specification (hw); - board support package (bsp); - C-language application.

In other words, it is no need to create an workspace like described here http://www.xilinx.com/support/documentation/sw_manuals/xilinx14_3/SDK_Doc/reference/sdk_u_commandline.htm.

Provided Xilinx SDK is an Eclipse-based IDE, how can I make Eclipse to run project clean and release|debug|all configurations build from command line/batch file?

like image 259
user3052745 Avatar asked Feb 13 '26 01:02

user3052745


1 Answers

This link really helps

http://www.xilinx.com/support/documentation/sw_manuals/xilinx14_1/SDK_Doc/reference/sdk_u_commandline.htm

about headlessbuild syntax: https://www.cct.lsu.edu/~rguidry/eclipse-doc36/org/eclipse/cdt/managedbuilder/internal/core/HeadlessBuilder.html

script contents

set XILINX_EDK=c:\Xilinx\14.3\ISE_DS\EDK\
set XILINX=c:\Xilinx\14.3\ISE_DS\ISE\
set ECLIPSE=%XILINX_EDK%eclipse\nt\eclipse\eclipsec.exe
set WSPACE=%CD%
set VM=%XILINX%java6\nt\jre\bin\
set BSP=%CD%\TEST_bsp\
set BSPNAME=TEST_bsp
set APP=%CD%\TEST\
set APPNAME=TEST

%ECLIPSE% -vm %VM% -nosplash -application org.eclipse.cdt.managedbuilder.core.headlessbuild -cleanBuild all -data %WSPACE%
like image 188
user3052745 Avatar answered Feb 15 '26 16:02

user3052745



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!