dSPACE Support : Before You Begin : Compiling the Run-Time Libraries : DS1103

DS1103

To compile the run-time libraries for the DS1103 board, complete the following:

1.
2.

%STM_ROOT%\etc\rapid\build_DS1103_libs.bat
<Statemate installation dir>

For example:

%STM_ROOT\etc\rapid\build_DS1103_libs.bat C:\IBM Rational\stmm\4.6

 

When you execute the batch file, the following libraries and object files are created:

%STM_ROOT%\lib\dspace\DS<xxxx>\libintrinsics.lib
%STM_ROOT%\lib\dspace\DS<xxxx>\libscheduler.lib
%STM_ROOT%\etc\rapid\ds<xxxx>\obj\stm_ds1103.lib
%STM_ROOT%\lib\dspace\DS<xxxx>\real_main.obj
%STM_ROOT%\lib\dspace\DS<xxxx>\sync_main.obj
%STM_ROOT%\lib\dspace\DS<xxxx>\async_main.obj

To compile the remote debugger run-time libraries for the DS1103 board, complete the following:

1.
2.

%STM_ROOT%\etc\rapid\build_DS1103_libs_dbg.bat <Statemate installation dir>

For example:

build_DS1103_libs_dbg.bat C:\IBM Rational\stmm\4.6

When you execute the batch file, the following libraries and object files are created:

%STM_ROOT%\lib\dspace\DS<xxxx>\libintrinsics_dbg.lib
%STM_ROOT%\lib\dspace\DS<xxxx>\libscheduler_dbg.lib
%STM_ROOT%\etc\rapid\ds<xxxx>\obj\libdbg.lib
%STM_ROOT%\lib\dspace\DS<xxxx>\real_main_dbg.obj