Batch file equivalent for XMOS command prompt Topic is solved

New to XMOS and XCore? Get started here.
dsdanielko
Active Member
Posts: 33
Joined: Sat Mar 12, 2016 3:12 pm

Batch file equivalent for XMOS command prompt

Post by dsdanielko »

Does it exist? I want to automate the xrun process.

Thanks
View Solution
User avatar
ers35
Active Member
Posts: 62
Joined: Mon Jun 10, 2013 2:14 pm

Post by ers35 »

The desktop shortcut that launches the XMOS Command Prompt runs SetEnv.bat from the xTIMEcomposer installation folder to setup the environment. You can do the same in your own batch script.

See the following example batch script:

Code: Select all

REM xrun_batch.bat

REM setup environment
call "C:\Program Files (x86)\XMOS\xTIMEcomposer\Community_14.1.2\SetEnv.bat"
REM run binary.xe
xrun binary.xe