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/getAllInterfaces.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/findDeps/getAllInterfaces.sci')
-rw-r--r-- | macros/findDeps/getAllInterfaces.sci | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/macros/findDeps/getAllInterfaces.sci b/macros/findDeps/getAllInterfaces.sci index b32bb652..5b52c71a 100644 --- a/macros/findDeps/getAllInterfaces.sci +++ b/macros/findDeps/getAllInterfaces.sci @@ -129,10 +129,18 @@ function allInterfaces = getAllInterfaces(OutFormat) "src/c/scilab-arduino/interfaces/int_cmd_analog_in.h" "src/c/scilab-arduino/interfaces/int_sleep.h"]; + //Interface files required for "AVR" output + AVR_interfaces = [ + "src/c/hardware/avr/interfaces/int_AVRPeripheralGPIO.h" + "src/c/hardware/avr/interfaces/int_AVRPeripheralADC.h" + ]; + if OutFormat == "StandAlone" allInterfaces = Standalone_interfaces; elseif OutFormat == "Arduino" allInterfaces = cat(1,Standalone_interfaces, Arduino_interfaces); + elseif OutFormat == "AVR" + allInterfaces = cat(1,Standalone_interfaces, AVR_interfaces); end endfunction |