diff options
author | siddhu8990 | 2016-08-18 15:47:18 +0530 |
---|---|---|
committer | siddhu8990 | 2016-08-18 15:47:18 +0530 |
commit | c8fd6991786ccddb44547b619178bb391f3f9b96 (patch) | |
tree | cd1cacd7796d85875e8b2bb15780902c55f42db1 /macros/findDeps/getAllSources.sci | |
parent | 24fbba33153e7758df4a990cb4c21ae8e53e6f3e (diff) | |
download | Scilab2C_fossee_old-c8fd6991786ccddb44547b619178bb391f3f9b96.tar.gz Scilab2C_fossee_old-c8fd6991786ccddb44547b619178bb391f3f9b96.tar.bz2 Scilab2C_fossee_old-c8fd6991786ccddb44547b619178bb391f3f9b96.zip |
RPi-PWM and basic imaage processing
Diffstat (limited to 'macros/findDeps/getAllSources.sci')
-rw-r--r-- | macros/findDeps/getAllSources.sci | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/macros/findDeps/getAllSources.sci b/macros/findDeps/getAllSources.sci index 84975fc..dafa503 100644 --- a/macros/findDeps/getAllSources.sci +++ b/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 |