summaryrefslogtreecommitdiff
path: root/macros/findDeps/getAllHeaders.sci
diff options
context:
space:
mode:
authorsiddhu89902015-11-28 11:01:40 +0530
committersiddhu89902015-11-28 11:01:40 +0530
commit88c02bb9dad7d955676fe44f6595f996bde3f07e (patch)
treee8c018a5a9535b2bd06356d4c5abf0368bbe9845 /macros/findDeps/getAllHeaders.sci
parentdd343609eabf4afcee2aa8eeeda3a383333d30e5 (diff)
downloadScilab2C_fossee_old-88c02bb9dad7d955676fe44f6595f996bde3f07e.tar.gz
Scilab2C_fossee_old-88c02bb9dad7d955676fe44f6595f996bde3f07e.tar.bz2
Scilab2C_fossee_old-88c02bb9dad7d955676fe44f6595f996bde3f07e.zip
Intermediate commit aith support added for AVR (GPIO,ADC). Does not support other targets.
Diffstat (limited to 'macros/findDeps/getAllHeaders.sci')
-rw-r--r--macros/findDeps/getAllHeaders.sci7
1 files changed, 7 insertions, 0 deletions
diff --git a/macros/findDeps/getAllHeaders.sci b/macros/findDeps/getAllHeaders.sci
index e152514..f5c74bd 100644
--- a/macros/findDeps/getAllHeaders.sci
+++ b/macros/findDeps/getAllHeaders.sci
@@ -136,10 +136,17 @@ function allHeaders = getAllHeaders(OutFormat)
"src/c/scilab-arduino/includes/cmd_analog_in.h"
"src/c/scilab-arduino/includes/sleep.h"];
+ AVR_headers = [
+ "src/c/hardware/avr/includes/AVRPeripheralGPIO.h"
+ "src/c/hardware/avr/includes/AVRPeripheralADC.h"
+ ];
+
if OutFormat == "StandAlone"
allHeaders = Standalone_headers;
elseif OutFormat == "Arduino"
allHeaders = cat(1,Standalone_headers, Arduino_headers);
+ elseif OutFormat == "AVR"
+ allHeaders = cat(1,Standalone_headers, AVR_headers);
end
endfunction