%% SYSTLC: RPP Target TMF: rpp.tmf MAKE: make_rtw EXTMODE: ext_serial_win32_comm
-%% Copyright (C) 2013-2014 Czech Technical University in Prague
+%% Copyright (C) 2013-2015 Czech Technical University in Prague
%%
%% Authors:
%% - Carlos Jenkins <carlos@jenkins.co.cr>
%%
-%% This document contains proprietary information belonging to Czech
-%% Technical University in Prague. Passing on and copying of this
-%% document, and communication of its contents is not permitted
-%% without prior written authorization.
+%% Permission is hereby granted, free of charge, to any person
+%% obtaining a copy of this software and associated documentation
+%% files (the "Software"), to deal in the Software without
+%% restriction, including without limitation the rights to use,
+%% copy, modify, merge, publish, distribute, sublicense, and/or sell
+%% copies of the Software, and to permit persons to whom the
+%% Software is furnished to do so, subject to the following
+%% conditions:
+
+%% The above copyright notice and this permission notice shall be
+%% included in all copies or substantial portions of the Software.
+
+%% THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+%% EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
+%% OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+%% NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
+%% HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
+%% WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+%% FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
+%% OTHER DEALINGS IN THE SOFTWARE.
%%
-%% File : rpp.tlc
+%% File : rpp_rm48_hdk.tlc
%% Abstract:
-%% Embedded real-time system target file for RPP.
+%% Embedded real-time system target file for RM48 HDK target.
%%
%% This file is the system target file (STF), or target manifest file.
%% Functions of the STF include:
%% References:
%% rtw_ug.pdf p. 1129 and _1144_
-
%selectfile NULL_FILE
%assign CodeFormat = "Embedded-C"
%assign InlineSetEventsForThisBaseRateFcn = TLC_TRUE
%assign SuppressMultiTaskScheduler = TLC_TRUE
-%include "codegenentry.tlc"
+%assign ::extMode = CompiledModel.ConfigSet.ExtMode
+%include "codegenentry.tlc"
/%
BEGIN_RTW_OPTIONS
oIdx = oIdx + 1;
+
rtwoptions(oIdx).prompt = 'C system stack size';
rtwoptions(oIdx).type = 'Edit';
rtwoptions(oIdx).default = '4096';
oIdx = oIdx + 1;
-
rtwoptions(oIdx).prompt = 'Download compiled binary to RPP.';
rtwoptions(oIdx).type = 'Checkbox';
rtwoptions(oIdx).default = 'off';
oIdx = oIdx + 1;
+ rtwoptions(oIdx).prompt = 'Download compiled binary to SDRAM.';
+ rtwoptions(oIdx).type = 'Checkbox';
+ rtwoptions(oIdx).default = 'off';
+%%if isunix
+%% rtwoptions(oIdx).enable = 'on';
+%%else
+%% rtwoptions(oIdx).enable = 'off';
+%%end
+ rtwoptions(oIdx).enable = 'off';
+ rtwoptions(oIdx).tlcvariable = 'rppDownloadToSDRAM';
+ rtwoptions(oIdx).makevariable = 'RPP_DOWNLOAD_TO_SDRAM';
+ rtwoptions(oIdx).tooltip = ['Download the compiled binary to the SDRAM instead of the internal Flash memory.'];
+ rtwoptions(oIdx).callback = '';
+
+ oIdx = oIdx + 1;
+
+ rtwoptions(oIdx).prompt = 'Use OpenOCD to download the compiled binary';
+ rtwoptions(oIdx).type = 'Checkbox';
+ rtwoptions(oIdx).default = 'off';
+%%if isunix
+%% rtwoptions(oIdx).enable = 'on';
+%%else
+%% rtwoptions(oIdx).enable = 'off';
+%%end
+ rtwoptions(oIdx).enable = 'off';
+ rtwoptions(oIdx).tlcvariable = 'rppUseOpenOCD';
+ rtwoptions(oIdx).makevariable = 'RPP_USE_OPENOCD';
+ rtwoptions(oIdx).tooltip = ['Use the OpenOCD to download the compiled binary instead of the Ti DSS Generic Loader.'];
+ rtwoptions(oIdx).callback = '';
+
+ oIdx = oIdx + 1;
+
rtwoptions(oIdx).prompt = 'Print model metadata to SCI at start.';
rtwoptions(oIdx).type = 'Checkbox';