%% Copyright (C) 2013-2015 Czech Technical University in Prague %% %% Authors: %% - Carlos Jenkins %% %% 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. %% %% File : rpp_file_process.tlc %% Abstract: %% Code generation custom file processing template. %% %% This file should decide which \textit{main} to generate according to configuration, in %% particular which mode, Single Tasking or Multitasking, is chosen. The RPP Target ignores %% this settings because it uses a tasking system based on tasking features provided by %% FreeRTOS. In consequence is only a wrapper to the \textit{Single Tasking} main, which %% clearly is not for single tasking. %% %% References: %% ecoder_ug.pdf p. 556 %% ecoder_ref.pdf p. 1347 %selectfile NULL_FILE %assign ::modelName = CompiledModel.Name %assign ::solverMode = CompiledModel.FixedStepOpts.SolverMode %assign ::fundamentalStepSize = CompiledModel.FundamentalStepSize %assign ::tid01Eq = CompiledModel.FixedStepOpts.TID01EQ %assign ::numSampleTimes = CompiledModel.NumSynchronousSampleTimes %% Need to set the template compliance flag before you can use the API % %% Create a the main file %include "rpp_mrmain.tlc" %