]> rtime.felk.cvut.cz Git - ert_linux.git/blob - ert_linux/ert_linux.tlc
Add debuging version of ext_svr.c
[ert_linux.git] / ert_linux / ert_linux.tlc
1 %% SYSTLC: Linux Embedded Coder TMF: ert_linux.tmf MAKE: make_rtw \
2 %%    EXTMODE: ext_comm
3 %%
4 %% Copyright 1994-2011 The MathWorks, Inc.
5 %% Copyright 2013 Michal Sojka <sojkam1@fel.cvut.cz>
6 %% Abstract: Embedded real-time system target file for Linux OS.
7 %%
8 %selectfile NULL_FILE
9
10 %assign CodeFormat = "Embedded-C"
11
12 %assign TargetType = "RT"
13 %assign Language   = "C"
14 %if !EXISTS("AutoBuildProcedure")
15   %assign AutoBuildProcedure = !GenerateSampleERTMain
16 %endif
17
18 %assign RateBasedStepFcn = 1    /% Generate only rate-based step functions %/
19
20 %% The model_SetEventsForThisBaseRate function is not required for the
21 %% VxWorks environment, i.e., when using an operating system.
22 %assign SuppressSetEventsForThisBaseRateFcn = (TargetOS == "VxWorksExample") 
23 %if !EXISTS("InlineSetEventsForThisBaseRateFcn")
24   %assign InlineSetEventsForThisBaseRateFcn  = TLC_TRUE
25 %endif
26 %if !EXISTS("SuppressMultiTaskScheduler")
27   %assign SuppressMultiTaskScheduler = TLC_TRUE
28 %endif
29
30 %assign TargetRegistMutexOp   = 1 
31 %assign TargetRegistSynchroOp = 1
32 %include "commontargetlib.tlc"
33
34 %include "codegenentry.tlc"
35 %include "ert_linux_genfiles.tlc"
36
37 /%
38   BEGIN_RTW_OPTIONS
39
40   rtwgensettings.DerivedFrom = 'ert.tlc';
41
42   %----------------------------------------%
43   % Configure code generation settings %
44   %----------------------------------------%
45
46   rtwgensettings.BuildDirSuffix = '_ert_linux';
47   rtwgensettings.Version = '1';
48   rtwgensettings.SelectCallback = 'ert_linux_select_callback_handler(hDlg, hSrc)';
49
50   END_RTW_OPTIONS
51  %/