summaryrefslogtreecommitdiff
path: root/macros/findDeps
diff options
context:
space:
mode:
Diffstat (limited to 'macros/findDeps')
-rw-r--r--macros/findDeps/getAllHeaders.binbin31412 -> 32576 bytes
-rw-r--r--macros/findDeps/getAllHeaders.sci12
-rw-r--r--macros/findDeps/getAllInterfaces.binbin32640 -> 33876 bytes
-rw-r--r--macros/findDeps/getAllInterfaces.sci12
-rw-r--r--macros/findDeps/getAllLibraries.binbin1952 -> 2076 bytes
-rw-r--r--macros/findDeps/getAllLibraries.sci5
-rw-r--r--macros/findDeps/getAllSources.binbin191264 -> 193416 bytes
-rw-r--r--macros/findDeps/getAllSources.sci18
8 files changed, 41 insertions, 6 deletions
diff --git a/macros/findDeps/getAllHeaders.bin b/macros/findDeps/getAllHeaders.bin
index b7773ac..2dad8e8 100644
--- a/macros/findDeps/getAllHeaders.bin
+++ b/macros/findDeps/getAllHeaders.bin
Binary files differ
diff --git a/macros/findDeps/getAllHeaders.sci b/macros/findDeps/getAllHeaders.sci
index 71b8b20..846f8f6 100644
--- a/macros/findDeps/getAllHeaders.sci
+++ b/macros/findDeps/getAllHeaders.sci
@@ -10,7 +10,8 @@
//
//
-function allHeaders = getAllHeaders(Target)
+function allHeaders = getAllHeaders(SharedInfo)
+ Target = SharedInfo.Target;
//Header files common to all types of output format.
Standalone_headers = [
@@ -176,8 +177,13 @@ function allHeaders = getAllHeaders(Target)
"src/c/hardware/rasberrypi/includes/RPIPeripheralSerial.h"
"src/c/hardware/rasberrypi/includes/RPIPeripheralThreading.h"
"src/c/hardware/rasberrypi/includes/RPIPeripheralPinISR.h"
+ "src/c/hardware/rasberrypi/includes/RPIPeripheralPWM.h"
];
+ OpenCV_headers = [
+ "src/c/imageProcessing/includes/cvcore.h"
+ "src/c/imageProcessing/includes/cvhighgui.h"];
+
if Target == "StandAlone"
allHeaders = Standalone_headers;
elseif Target == "Arduino"
@@ -188,4 +194,8 @@ function allHeaders = getAllHeaders(Target)
allHeaders = cat(1,Standalone_headers, RPi_headers);
end
+ if (SharedInfo.OpenCVUsed == %T)
+ allHeaders = cat(1,allHeaders,OpenCV_headers);
+ end
+
endfunction
diff --git a/macros/findDeps/getAllInterfaces.bin b/macros/findDeps/getAllInterfaces.bin
index 3558d2c..ee40b12 100644
--- a/macros/findDeps/getAllInterfaces.bin
+++ b/macros/findDeps/getAllInterfaces.bin
Binary files differ
diff --git a/macros/findDeps/getAllInterfaces.sci b/macros/findDeps/getAllInterfaces.sci
index 9d86180..9097547 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
diff --git a/macros/findDeps/getAllLibraries.bin b/macros/findDeps/getAllLibraries.bin
index 7828cd2..c6d006f 100644
--- a/macros/findDeps/getAllLibraries.bin
+++ b/macros/findDeps/getAllLibraries.bin
Binary files differ
diff --git a/macros/findDeps/getAllLibraries.sci b/macros/findDeps/getAllLibraries.sci
index 7741caf..7cd8f91 100644
--- a/macros/findDeps/getAllLibraries.sci
+++ b/macros/findDeps/getAllLibraries.sci
@@ -1,6 +1,5 @@
-
-function allLibraries = getAllLibraries(Target)
-
+function allLibraries = getAllLibraries(SharedInfo)
+ Target = SharedInfo.Target;
//Library files required for "RasberryPi" target
RPi_libs = [
"src/c/hardware/rasberrypi/libraries/wiringPi/libwiringPi.so"
diff --git a/macros/findDeps/getAllSources.bin b/macros/findDeps/getAllSources.bin
index 5f60ac9..974e946 100644
--- a/macros/findDeps/getAllSources.bin
+++ b/macros/findDeps/getAllSources.bin
Binary files differ
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