summaryrefslogtreecommitdiff
path: root/macros/findDeps/getAllSources.sci
diff options
context:
space:
mode:
authorimushir2016-02-09 17:00:34 +0530
committerimushir2016-02-09 17:00:34 +0530
commitfad04e78ac69db4ef74c1bd45154fc430c18cccc (patch)
tree29bb0c8b76e6882adbaaae67bd0e845e3280f73e /macros/findDeps/getAllSources.sci
parentee5bf4d90f78673d1e4d5a9dd304ee53c503c085 (diff)
parentbbdc94252ee563f0b01d4949868a583e43a2e6a8 (diff)
downloadScilab2C_fossee_old-fad04e78ac69db4ef74c1bd45154fc430c18cccc.tar.gz
Scilab2C_fossee_old-fad04e78ac69db4ef74c1bd45154fc430c18cccc.tar.bz2
Scilab2C_fossee_old-fad04e78ac69db4ef74c1bd45154fc430c18cccc.zip
merged RPi & diag
Diffstat (limited to 'macros/findDeps/getAllSources.sci')
-rw-r--r--macros/findDeps/getAllSources.sci18
1 files changed, 14 insertions, 4 deletions
diff --git a/macros/findDeps/getAllSources.sci b/macros/findDeps/getAllSources.sci
index b6e8556..64a4e47 100644
--- a/macros/findDeps/getAllSources.sci
+++ b/macros/findDeps/getAllSources.sci
@@ -10,7 +10,7 @@
//
//
-function allSources = getAllSources(OutFormat)
+function allSources = getAllSources(Target)
//Files common to types of output format
Standalone_files = [ "src/c/auxiliaryFunctions/abs/sabsa.c"
"src/c/auxiliaryFunctions/abs/sabss.c"
@@ -919,13 +919,23 @@ function allSources = getAllSources(OutFormat)
"src/c/hardware/avr/util/u16AVRSleeps.c"
];
+ RPI_files = [
+ "src/c/hardware/rasberrypi/gpio/u8RPIDigitalSetups.c"
+ "src/c/hardware/rasberrypi/gpio/u8RPIDigitalOuts.c"
+ "src/c/hardware/rasberrypi/gpio/u8RPIDigitalIns.c"
+ "src/c/hardware/rasberrypi/util/u16RPIDelayMillis.c"
+ "src/c/hardware/rasberrypi/util/u16RPIDelayMicros.c"
- if OutFormat == "StandAlone"
+];
+
+ if Target == "StandAlone"
allSources = Standalone_files;
- elseif OutFormat == "Arduino"
+ elseif Target == "Arduino"
allSources = cat(1,Standalone_files, Arduino_files);
- elseif OutFormat == "AVR"
+ elseif Target == "AVR"
allSources = cat(1,Standalone_files, AVR_files);
+ elseif Target == "RPi"
+ allSources = cat(1,Standalone_files, RPI_files);
end
endfunction