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/getAllInterfaces.sci | |
parent | 24fbba33153e7758df4a990cb4c21ae8e53e6f3e (diff) | |
download | scilab2c-c8fd6991786ccddb44547b619178bb391f3f9b96.tar.gz scilab2c-c8fd6991786ccddb44547b619178bb391f3f9b96.tar.bz2 scilab2c-c8fd6991786ccddb44547b619178bb391f3f9b96.zip |
RPi-PWM and basic imaage processing
Diffstat (limited to 'macros/findDeps/getAllInterfaces.sci')
-rw-r--r-- | macros/findDeps/getAllInterfaces.sci | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/macros/findDeps/getAllInterfaces.sci b/macros/findDeps/getAllInterfaces.sci index 9d86180f..90975473 100644 --- a/macros/findDeps/getAllInterfaces.sci +++ b/macros/findDeps/getAllInterfaces.sci @@ -10,7 +10,8 @@ // // -function allInterfaces = getAllInterfaces(Target) +function allInterfaces = getAllInterfaces(SharedInfo) + Target = SharedInfo.Target; //Interface files common to all types of output format Standalone_interfaces = [ "src/c/auxiliaryFunctions/interfaces/int_rand.h" @@ -167,8 +168,13 @@ function allInterfaces = getAllInterfaces(Target) "src/c/hardware/rasberrypi/interfaces/int_RPIPeripheralSerial.h" "src/c/hardware/rasberrypi/interfaces/int_RPIPeripheralThreading.h" "src/c/hardware/rasberrypi/interfaces/int_RPIPeripheralPinISR.h" + "src/c/hardware/rasberrypi/interfaces/int_RPIPeripheralPWM.h" ]; + OpenCV_interfaces = [ + "src/c/imageProcessing/interfaces/int_cvcore.h" + "src/c/imageProcessing/interfaces/int_cvhighgui.h"]; + if Target == "StandAlone" allInterfaces = Standalone_interfaces; elseif Target == "Arduino" @@ -179,4 +185,8 @@ function allInterfaces = getAllInterfaces(Target) allInterfaces = cat(1,Standalone_interfaces, RPI_interfaces); end + if (SharedInfo.OpenCVUsed == %T) + allInterfaces = cat(1,allInterfaces,OpenCV_interfaces) + end + endfunction |