diff options
author | siddhu8990 | 2016-08-18 15:47:18 +0530 |
---|---|---|
committer | siddhu8990 | 2016-08-18 15:47:18 +0530 |
commit | 1552675d4ac3be8d265bcf089fbc1ac5be1547f9 (patch) | |
tree | 4162a70fa63681584c6d5485b08b516e64015569 /2.3-1/macros/findDeps/getAllSources.sci | |
parent | 21ab4886b202a52189b398bd9d3137e2a567d62a (diff) | |
download | Scilab2C-1552675d4ac3be8d265bcf089fbc1ac5be1547f9.tar.gz Scilab2C-1552675d4ac3be8d265bcf089fbc1ac5be1547f9.tar.bz2 Scilab2C-1552675d4ac3be8d265bcf089fbc1ac5be1547f9.zip |
RPi-PWM and basic imaage processing
Diffstat (limited to '2.3-1/macros/findDeps/getAllSources.sci')
-rw-r--r-- | 2.3-1/macros/findDeps/getAllSources.sci | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/2.3-1/macros/findDeps/getAllSources.sci b/2.3-1/macros/findDeps/getAllSources.sci index 84975fcb..dafa5032 100644 --- a/2.3-1/macros/findDeps/getAllSources.sci +++ b/2.3-1/macros/findDeps/getAllSources.sci @@ -10,7 +10,9 @@ // // -function allSources = getAllSources(Target) +function allSources = getAllSources(SharedInfo) + Target = SharedInfo.Target; + //Files common to types of output format Standalone_files = [ "src/c/auxiliaryFunctions/abs/sabsa.c" "src/c/auxiliaryFunctions/abs/sabss.c" @@ -1029,9 +1031,18 @@ function allSources = getAllSources(Target) "src/c/hardware/rasberrypi/serial/i16RPISerialGetChars.c" "src/c/hardware/rasberrypi/serial/u8RPISerialFlushs.c" "src/c/hardware/rasberrypi/threading/u16RPIThreadCreates.c" + "src/c/hardware/rasberrypi/pwm/u8RPIHardPWMWrites.c" + "src/c/hardware/rasberrypi/pwm/u8RPIHardPWMSetRanges.c" + "src/c/hardware/rasberrypi/pwm/u8RPIHardPWMSetModes.c" + "src/c/hardware/rasberrypi/pwm/u8RPIHardPWMSetClocks.c" "src/c/hardware/rasberrypi/ISR/i16RPIPinISRs.c" ]; + OpenCV_files = [ + "src/c/imageProcessing/cvcore/imcvCreateImages.c" + "src/c/imageProcessing/cvhighgui/imcvLoadImages.c" + "src/c/imageProcessing/cvhighgui/imcvShowImages.c"]; + if Target == "StandAlone" allSources = Standalone_files; elseif Target == "Arduino" @@ -1042,4 +1053,9 @@ function allSources = getAllSources(Target) allSources = cat(1,Standalone_files, RPI_files); end + if (SharedInfo.OpenCVUsed == %T) + allSources = cat(1,allSources,OpenCV_files); + end + + endfunction |