diff options
author | siddhu8990 | 2016-02-01 11:05:35 +0530 |
---|---|---|
committer | siddhu8990 | 2016-02-01 11:05:35 +0530 |
commit | 5df6d1cb2868abdc8df66755f76c997ee36c0b49 (patch) | |
tree | 8f6eef9f83437133b0b8d7f16f3b5dd470872aee /macros/findDeps/getAllSources.sci | |
parent | 1ff7f5293444b22b46ff7bd51d52a845dc20525c (diff) | |
download | Scilab2C_fossee_old-5df6d1cb2868abdc8df66755f76c997ee36c0b49.tar.gz Scilab2C_fossee_old-5df6d1cb2868abdc8df66755f76c997ee36c0b49.tar.bz2 Scilab2C_fossee_old-5df6d1cb2868abdc8df66755f76c997ee36c0b49.zip |
Support for RPi gpios added
Diffstat (limited to 'macros/findDeps/getAllSources.sci')
-rw-r--r-- | macros/findDeps/getAllSources.sci | 18 |
1 files changed, 14 insertions, 4 deletions
diff --git a/macros/findDeps/getAllSources.sci b/macros/findDeps/getAllSources.sci index 56a8fea..ca9ac8b 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" @@ -858,13 +858,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 |