diff options
author | imushir | 2016-02-09 17:00:34 +0530 |
---|---|---|
committer | imushir | 2016-02-09 17:00:34 +0530 |
commit | 65ca99dd846281e3d1c3066697ad260df0d0909e (patch) | |
tree | 53b01af3e50678970b009c774479bc43b4c15bc4 /2.3-1/macros/ToolInitialization/INIT_SCI2C.sci | |
parent | a6efab1a42eda8c1e3902c2f2d030a9cb9cfd25e (diff) | |
parent | 58b8656a350fed1a1e59caa484e6d9967dd1bc4d (diff) | |
download | Scilab2C-65ca99dd846281e3d1c3066697ad260df0d0909e.tar.gz Scilab2C-65ca99dd846281e3d1c3066697ad260df0d0909e.tar.bz2 Scilab2C-65ca99dd846281e3d1c3066697ad260df0d0909e.zip |
merged RPi & diag
Diffstat (limited to '2.3-1/macros/ToolInitialization/INIT_SCI2C.sci')
-rw-r--r-- | 2.3-1/macros/ToolInitialization/INIT_SCI2C.sci | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/2.3-1/macros/ToolInitialization/INIT_SCI2C.sci b/2.3-1/macros/ToolInitialization/INIT_SCI2C.sci index 167b2ee4..82533022 100644 --- a/2.3-1/macros/ToolInitialization/INIT_SCI2C.sci +++ b/2.3-1/macros/ToolInitialization/INIT_SCI2C.sci @@ -1,5 +1,5 @@ function [FileInfoDatFile,SharedInfoDatFile] = ...
- INIT_SCI2C(UserScilabMainFile, UserSciFilesPaths, SCI2COutputDir, RunMode,OutFormat)
+ INIT_SCI2C(UserScilabMainFile, UserSciFilesPaths, SCI2COutputDir, RunMode,Target)
// function [FileInfoDatFile,SharedInfoDatFile] = INIT_SCI2C(SCI2CInputPrmFile)
// -----------------------------------------------------------------
// #RNU_RES_B
@@ -68,7 +68,7 @@ OutCCCodeDir = SCI2CResultDir; //-- FIXME : MainLibHeader and Verbose mode are (?) configurable
SharedInfo = INIT_GenSharedInfo(RunMode,UserScilabMainFile, ...
- TotTempScalarVars,EnableTempVarsReuse,"sci2clib.h", %t,OutFormat);
+ TotTempScalarVars,EnableTempVarsReuse,"sci2clib.h", %t,Target);
// ----------------------------
// --- Initialize FileInfo. ---
@@ -149,10 +149,10 @@ anscounter = 0; //--------------------------------------------
//---Hardware related initialisation----------
//--------------------------------------------
-if (OutFormat == 'AVR')
+if (Target == 'AVR')
PeripheralList = list();
save(FileInfo.PeripheralInitListFile, 'PeripheralList');
-elseif (OutFormat == 'Arduino')
+elseif (Target == 'Arduino')
SetupList = list();
save(FileInfo.SetupListFile, 'SetupList');
end
|