summaryrefslogtreecommitdiff
path: root/2.3-1/macros/ToolInitialization/INIT_SCI2C.sci
diff options
context:
space:
mode:
authorsiddhu89902015-11-28 11:01:40 +0530
committersiddhu89902015-11-28 11:01:40 +0530
commit128638e88ce6d8414c9e1061faa96008be9bcda5 (patch)
treec38d4dbbed3ee4f3e71f263693d408e8bee519bc /2.3-1/macros/ToolInitialization/INIT_SCI2C.sci
parent3bcc8ce62560f36eaaab0e064b169b0118f354f3 (diff)
downloadScilab2C-128638e88ce6d8414c9e1061faa96008be9bcda5.tar.gz
Scilab2C-128638e88ce6d8414c9e1061faa96008be9bcda5.tar.bz2
Scilab2C-128638e88ce6d8414c9e1061faa96008be9bcda5.zip
Intermediate commit aith support added for AVR (GPIO,ADC). Does not support other targets.
Diffstat (limited to '2.3-1/macros/ToolInitialization/INIT_SCI2C.sci')
-rw-r--r--2.3-1/macros/ToolInitialization/INIT_SCI2C.sci6
1 files changed, 6 insertions, 0 deletions
diff --git a/2.3-1/macros/ToolInitialization/INIT_SCI2C.sci b/2.3-1/macros/ToolInitialization/INIT_SCI2C.sci
index 4065d047..0340d6ff 100644
--- a/2.3-1/macros/ToolInitialization/INIT_SCI2C.sci
+++ b/2.3-1/macros/ToolInitialization/INIT_SCI2C.sci
@@ -144,6 +144,12 @@ SharedInfoDatFile = FileInfo.SharedInfoDatFile;
global anscounter; //NUT: just to fix problem with ans variables.
anscounter = 0;
+//--------------------------------------------
+//---Hardware related initialisation----------
+//--------------------------------------------
+PeripheralList = list();
+save(FileInfo.PeripheralInitListFile, 'PeripheralList');
+
endfunction
// #RNU_RES_B
//NUT: quando genero il c della funzione utente devo anche generare il corrispondente file delle includes.