]> rtime.felk.cvut.cz Git - ert_linux.git/blob - ert_linux/ert_linux.tlc
Somehow working version
[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
36 /%
37   BEGIN_RTW_OPTIONS
38
39   rtwgensettings.DerivedFrom = 'ert.tlc';
40
41   %----------------------------------------%
42   % Configure code generation settings %
43   %----------------------------------------%
44
45   rtwgensettings.BuildDirSuffix = '_ert_linux';
46   rtwgensettings.Version = '1';
47   rtwgensettings.SelectCallback = 'ert_linux_select_callback_handler(hDlg, hSrc)';
48
49   END_RTW_OPTIONS
50  %/