diff options
author | siddhu8990 | 2015-11-28 11:01:40 +0530 |
---|---|---|
committer | siddhu8990 | 2015-11-28 11:01:40 +0530 |
commit | 88c02bb9dad7d955676fe44f6595f996bde3f07e (patch) | |
tree | e8c018a5a9535b2bd06356d4c5abf0368bbe9845 /macros/ToolInitialization/INIT_SCI2C.sci | |
parent | dd343609eabf4afcee2aa8eeeda3a383333d30e5 (diff) | |
download | scilab2c-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.sci | 6 |
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.
|