summaryrefslogtreecommitdiff
path: root/macros/ToolInitialization/INIT_SCI2C.sci
diff options
context:
space:
mode:
authorsiddhu89902015-11-28 11:01:40 +0530
committersiddhu89902015-11-28 11:01:40 +0530
commit88c02bb9dad7d955676fe44f6595f996bde3f07e (patch)
treee8c018a5a9535b2bd06356d4c5abf0368bbe9845 /macros/ToolInitialization/INIT_SCI2C.sci
parentdd343609eabf4afcee2aa8eeeda3a383333d30e5 (diff)
downloadscilab2c-88c02bb9dad7d955676fe44f6595f996bde3f07e.tar.gz
scilab2c-88c02bb9dad7d955676fe44f6595f996bde3f07e.tar.bz2
scilab2c-88c02bb9dad7d955676fe44f6595f996bde3f07e.zip
Intermediate commit aith support added for AVR (GPIO,ADC). Does not support other targets.
Diffstat (limited to 'macros/ToolInitialization/INIT_SCI2C.sci')
-rw-r--r--macros/ToolInitialization/INIT_SCI2C.sci6
1 files changed, 6 insertions, 0 deletions
diff --git a/macros/ToolInitialization/INIT_SCI2C.sci b/macros/ToolInitialization/INIT_SCI2C.sci
index 4065d047..0340d6ff 100644
--- a/macros/ToolInitialization/INIT_SCI2C.sci
+++ b/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.