]> rtime.felk.cvut.cz Git - ert_linux.git/blob - ert_linux/ert_linux.tlc
Add preliminary readme
[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 %% The model_SetEventsForThisBaseRate function is not required for the
19 %% VxWorks environment, i.e., when using an operating system.
20 %assign SuppressSetEventsForThisBaseRateFcn = (TargetOS == "VxWorksExample") 
21 %if !EXISTS("InlineSetEventsForThisBaseRateFcn")
22   %assign InlineSetEventsForThisBaseRateFcn  = TLC_TRUE
23 %endif
24 %if !EXISTS("SuppressMultiTaskScheduler")
25   %assign SuppressMultiTaskScheduler = TLC_TRUE
26 %endif
27
28 %assign TargetRegistMutexOp   = 1 
29 %assign TargetRegistSynchroOp = 1
30 %include "commontargetlib.tlc"
31
32 %include "codegenentry.tlc"
33
34 /%
35   BEGIN_RTW_OPTIONS
36
37   rtwgensettings.DerivedFrom = 'ert.tlc';
38
39   %----------------------------------------%
40   % Configure code generation settings %
41   %----------------------------------------%
42
43   rtwgensettings.BuildDirSuffix = '_ert_linux';
44
45   END_RTW_OPTIONS
46  %/