1 %% SYSTLC: RPP Target TMF: rpp.tmf MAKE: make_rtw EXTMODE: no_ext_comm
3 %% Copyright (C) 2013 Czech Technical University in Prague
6 %% - Carlos Jenkins <carlos@jenkins.co.cr>
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.
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.
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/>.
23 %% Embedded real-time system target file for RPP.
24 %% Reference: rtw_ug.pdf p. 1129 and _1144_
29 %assign CodeFormat = "Embedded-C"
30 %assign Language = "C"
31 %assign TargetType = "RT"
33 %assign AutoBuildProcedure = !GenerateSampleERTMain
35 %% TODO: Check applicability of this options
36 %assign SuppressSetEventsForThisBaseRateFcn = 1
37 %assign InlineSetEventsForThisBaseRateFcn = TLC_TRUE
38 %assign SuppressMultiTaskScheduler = TLC_TRUE
40 %include "codegenentry.tlc"
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
50 rtwoptions(1).popupstrings = '';
51 rtwoptions(1).tlcvariable = '';
52 rtwoptions(1).tooltip = '';
53 rtwoptions(1).callback = '';
54 rtwoptions(1).makevariable = '';
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 = '';
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)';