summaryrefslogtreecommitdiff
path: root/macros/findDeps/getAllInterfaces.sci
diff options
context:
space:
mode:
authorsiddhu89902016-02-01 11:05:35 +0530
committersiddhu89902016-02-01 11:05:35 +0530
commit5df6d1cb2868abdc8df66755f76c997ee36c0b49 (patch)
tree8f6eef9f83437133b0b8d7f16f3b5dd470872aee /macros/findDeps/getAllInterfaces.sci
parent1ff7f5293444b22b46ff7bd51d52a845dc20525c (diff)
downloadscilab2c-5df6d1cb2868abdc8df66755f76c997ee36c0b49.tar.gz
scilab2c-5df6d1cb2868abdc8df66755f76c997ee36c0b49.tar.bz2
scilab2c-5df6d1cb2868abdc8df66755f76c997ee36c0b49.zip
Support for RPi gpios added
Diffstat (limited to 'macros/findDeps/getAllInterfaces.sci')
-rw-r--r--macros/findDeps/getAllInterfaces.sci16
1 files changed, 12 insertions, 4 deletions
diff --git a/macros/findDeps/getAllInterfaces.sci b/macros/findDeps/getAllInterfaces.sci
index 65ee1745..e2333537 100644
--- a/macros/findDeps/getAllInterfaces.sci
+++ b/macros/findDeps/getAllInterfaces.sci
@@ -10,7 +10,7 @@
//
//
-function allInterfaces = getAllInterfaces(OutFormat)
+function allInterfaces = getAllInterfaces(Target)
//Interface files common to all types of output format
Standalone_interfaces = [
"src/c/auxiliaryFunctions/interfaces/int_rand.h"
@@ -139,12 +139,20 @@ function allInterfaces = getAllInterfaces(OutFormat)
"src/c/hardware/avr/interfaces/int_AVRUtil.h"
];
- if OutFormat == "StandAlone"
+ RPI_interfaces = [
+ "src/c/hardware/rasberrypi/interfaces/int_RPIPeripheralDigital.h"
+ "src/c/hardware/rasberrypi/interfaces/int_RPIPeripheralUtil.h"
+
+];
+
+ if Target == "StandAlone"
allInterfaces = Standalone_interfaces;
- elseif OutFormat == "Arduino"
+ elseif Target == "Arduino"
allInterfaces = cat(1,Standalone_interfaces, Arduino_interfaces);
- elseif OutFormat == "AVR"
+ elseif Target == "AVR"
allInterfaces = cat(1,Standalone_interfaces, AVR_interfaces);
+ elseif Target == "RPi"
+ allInterfaces = cat(1,Standalone_interfaces, RPI_interfaces);
end
endfunction