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/findDeps/getAllHeaders.sci | |
parent | dd343609eabf4afcee2aa8eeeda3a383333d30e5 (diff) | |
download | Scilab2C_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.sci | 7 |
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 |