summaryrefslogtreecommitdiff
path: root/2.3-1/macros/findDeps
diff options
context:
space:
mode:
Diffstat (limited to '2.3-1/macros/findDeps')
-rw-r--r--2.3-1/macros/findDeps/getAllHeaders.binbin20944 -> 21056 bytes
-rw-r--r--2.3-1/macros/findDeps/getAllHeaders.sci7
-rw-r--r--2.3-1/macros/findDeps/getAllInterfaces.binbin19912 -> 20960 bytes
-rw-r--r--2.3-1/macros/findDeps/getAllInterfaces.sci8
-rw-r--r--2.3-1/macros/findDeps/getAllSources.binbin89280 -> 89488 bytes
-rw-r--r--2.3-1/macros/findDeps/getAllSources.sci14
-rw-r--r--2.3-1/macros/findDeps/getArduinoFiles.binbin9600 -> 9600 bytes
7 files changed, 29 insertions, 0 deletions
diff --git a/2.3-1/macros/findDeps/getAllHeaders.bin b/2.3-1/macros/findDeps/getAllHeaders.bin
index e9992fd4..6c4c15f7 100644
--- a/2.3-1/macros/findDeps/getAllHeaders.bin
+++ b/2.3-1/macros/findDeps/getAllHeaders.bin
Binary files differ
diff --git a/2.3-1/macros/findDeps/getAllHeaders.sci b/2.3-1/macros/findDeps/getAllHeaders.sci
index e152514b..f5c74bd0 100644
--- a/2.3-1/macros/findDeps/getAllHeaders.sci
+++ b/2.3-1/macros/findDeps/getAllHeaders.sci
@@ -136,10 +136,17 @@ function allHeaders = getAllHeaders(OutFormat)
"src/c/scilab-arduino/includes/cmd_analog_in.h"
"src/c/scilab-arduino/includes/sleep.h"];
+ AVR_headers = [
+ "src/c/hardware/avr/includes/AVRPeripheralGPIO.h"
+ "src/c/hardware/avr/includes/AVRPeripheralADC.h"
+ ];
+
if OutFormat == "StandAlone"
allHeaders = Standalone_headers;
elseif OutFormat == "Arduino"
allHeaders = cat(1,Standalone_headers, Arduino_headers);
+ elseif OutFormat == "AVR"
+ allHeaders = cat(1,Standalone_headers, AVR_headers);
end
endfunction
diff --git a/2.3-1/macros/findDeps/getAllInterfaces.bin b/2.3-1/macros/findDeps/getAllInterfaces.bin
index c607ea19..ec75338c 100644
--- a/2.3-1/macros/findDeps/getAllInterfaces.bin
+++ b/2.3-1/macros/findDeps/getAllInterfaces.bin
Binary files differ
diff --git a/2.3-1/macros/findDeps/getAllInterfaces.sci b/2.3-1/macros/findDeps/getAllInterfaces.sci
index b32bb652..5b52c71a 100644
--- a/2.3-1/macros/findDeps/getAllInterfaces.sci
+++ b/2.3-1/macros/findDeps/getAllInterfaces.sci
@@ -129,10 +129,18 @@ function allInterfaces = getAllInterfaces(OutFormat)
"src/c/scilab-arduino/interfaces/int_cmd_analog_in.h"
"src/c/scilab-arduino/interfaces/int_sleep.h"];
+ //Interface files required for "AVR" output
+ AVR_interfaces = [
+ "src/c/hardware/avr/interfaces/int_AVRPeripheralGPIO.h"
+ "src/c/hardware/avr/interfaces/int_AVRPeripheralADC.h"
+ ];
+
if OutFormat == "StandAlone"
allInterfaces = Standalone_interfaces;
elseif OutFormat == "Arduino"
allInterfaces = cat(1,Standalone_interfaces, Arduino_interfaces);
+ elseif OutFormat == "AVR"
+ allInterfaces = cat(1,Standalone_interfaces, AVR_interfaces);
end
endfunction
diff --git a/2.3-1/macros/findDeps/getAllSources.bin b/2.3-1/macros/findDeps/getAllSources.bin
index 1d698a0e..6c3f91f5 100644
--- a/2.3-1/macros/findDeps/getAllSources.bin
+++ b/2.3-1/macros/findDeps/getAllSources.bin
Binary files differ
diff --git a/2.3-1/macros/findDeps/getAllSources.sci b/2.3-1/macros/findDeps/getAllSources.sci
index 356ba38e..956f7be1 100644
--- a/2.3-1/macros/findDeps/getAllSources.sci
+++ b/2.3-1/macros/findDeps/getAllSources.sci
@@ -823,10 +823,24 @@ function allSources = getAllSources(OutFormat)
"src/c/scilab-arduino/cmd_analog_out/u8cmd_analog_outs.c"
"src/c/scilab-arduino/cmd_analog_in/u8cmd_analog_ins.c"
"src/c/scilab-arduino/sleep/u16sleeps.c"];
+
+ //Files to be inserted only if output format selected is 'AVR'.
+ AVR_files = [
+ "src/c/hardware/avr/gpio/u8AVRDigitalSetups.c"
+ "src/c/hardware/avr/gpio/u8AVRDigitalOuts.c"
+ "src/c/hardware/avr/gpio/u8AVRDigitalIns.c"
+ "src/c/hardware/avr/adc/u8AVRADCSetups.c"
+ "src/c/hardware/avr/adc/u8AVRReadADCs.c"
+ "src/c/scilab-arduino/sleep/u16sleeps.c"
+ ];
+
+
if OutFormat == "StandAlone"
allSources = Standalone_files;
elseif OutFormat == "Arduino"
allSources = cat(1,Standalone_files, Arduino_files);
+ elseif OutFormat == "AVR"
+ allSources = cat(1,Standalone_files, AVR_files);
end
endfunction
diff --git a/2.3-1/macros/findDeps/getArduinoFiles.bin b/2.3-1/macros/findDeps/getArduinoFiles.bin
index 3becbac7..c762c303 100644
--- a/2.3-1/macros/findDeps/getArduinoFiles.bin
+++ b/2.3-1/macros/findDeps/getArduinoFiles.bin
Binary files differ