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/getAllHeaders.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/getAllHeaders.sci')
-rw-r--r-- | macros/findDeps/getAllHeaders.sci | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/macros/findDeps/getAllHeaders.sci b/macros/findDeps/getAllHeaders.sci index 7cddce2..0f325bd 100644 --- a/macros/findDeps/getAllHeaders.sci +++ b/macros/findDeps/getAllHeaders.sci @@ -10,7 +10,7 @@ // // -function allHeaders = getAllHeaders(OutFormat) +function allHeaders = getAllHeaders(Target) //Header files common to all types of output format. Standalone_headers = [ @@ -145,12 +145,20 @@ function allHeaders = getAllHeaders(OutFormat) "src/c/hardware/avr/includes/AVRUtil.h" ]; - if OutFormat == "StandAlone" + RPi_headers = [ + "includes/bcm2835.h" + "src/c/hardware/rasberrypi/includes/RPIPeripheralDigital.h" + "src/c/hardware/rasberrypi/includes/RPIPeripheralUtil.h" + ]; + + if Target == "StandAlone" allHeaders = Standalone_headers; - elseif OutFormat == "Arduino" + elseif Target == "Arduino" allHeaders = cat(1,Standalone_headers, Arduino_headers); - elseif OutFormat == "AVR" + elseif Target == "AVR" allHeaders = cat(1,Standalone_headers, AVR_headers); + elseif Target == "RPi" + allHeaders = cat(1,Standalone_headers, RPi_headers); end endfunction |