]> rtime.felk.cvut.cz Git - pes-rpp/rpp-simulink.git/blob - rpp/rpp/rpp.tlc
Implemented target_tools makefile for CCS. Added setup script for installing.
[pes-rpp/rpp-simulink.git] / rpp / rpp / rpp.tlc
1 %% SYSTLC: RPP Target TMF: rpp.tmf MAKE: make_rtw EXTMODE: no_ext_comm
2
3 %% Copyright (C) 2013 Czech Technical University in Prague
4 %%
5 %% Authors:
6 %%      - Carlos Jenkins <carlos@jenkins.co.cr>
7 %%
8 %% This program is free software; you can redistribute it and/or modify
9 %% it under the terms of the GNU General Public License as published by
10 %% the Free Software Foundation; either version 2 of the License, or
11 %% (at your option) any later version.
12 %%
13 %% This program is distributed in the hope that it will be useful,
14 %% but WITHOUT ANY WARRANTY; without even the implied warranty of
15 %% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16 %% GNU General Public License for more details.
17 %%
18 %% You should have received a copy of the GNU General Public License
19 %% along with this program.  If not, see <http://www.gnu.org/licenses/>.
20 %%
21 %% File : rpp.tlc
22 %% Abstract:
23 %%       Embedded real-time system target file for RPP.
24 %%       Reference: rtw_ug.pdf p. 1129 and _1144_
25
26
27 %selectfile NULL_FILE
28
29 %assign CodeFormat = "Embedded-C"
30 %assign Language   = "C"
31 %assign TargetType = "RT"
32
33 %assign AutoBuildProcedure = !GenerateSampleERTMain
34
35 %% TODO: Check applicability of this options
36 %assign SuppressSetEventsForThisBaseRateFcn = 1
37 %assign InlineSetEventsForThisBaseRateFcn  = TLC_TRUE
38 %assign SuppressMultiTaskScheduler = TLC_TRUE
39
40 %include "codegenentry.tlc"
41
42
43 /%
44   BEGIN_RTW_OPTIONS
45   rtwoptions(1).prompt         = 'RPP Options';
46   rtwoptions(1).type           = 'Category';
47   rtwoptions(1).enable         = 'on';
48   rtwoptions(1).default        = 1;   % number of items under this category
49                                       % excluding this one.
50   rtwoptions(1).popupstrings  = '';
51   rtwoptions(1).tlcvariable   = '';
52   rtwoptions(1).tooltip       = '';
53   rtwoptions(1).callback      = '';
54   rtwoptions(1).makevariable  = '';
55
56   rtwoptions(2).prompt         = 'Download compiled binary to RPP';
57   rtwoptions(2).type           = 'Checkbox';
58   rtwoptions(2).default        = 'off';
59   rtwoptions(2).tlcvariable    = '';
60   rtwoptions(2).makevariable   = 'RPP_DOWNLOAD';
61   rtwoptions(2).tooltip        = ['Download compiled binary to RPP'];
62   rtwoptions(2).callback       = '';
63
64   % Configure code generation settings
65   rtwgensettings.BuildDirSuffix = '_rpp';
66   rtwgensettings.Version = '1';
67   rtwgensettings.DerivedFrom = 'ert.tlc';
68   rtwgensettings.SelectCallback = 'rpp_select_callback_handler(hDlg, hSrc)';
69
70   END_RTW_OPTIONS
71 %/
72