summaryrefslogtreecommitdiff
path: root/macros/Scilab-Arduino
diff options
context:
space:
mode:
Diffstat (limited to 'macros/Scilab-Arduino')
-rw-r--r--macros/Scilab-Arduino/GetArduinoFunctions.sci2
-rw-r--r--macros/Scilab-Arduino/GetArduinoSetupFunctions.sci2
-rwxr-xr-x[-rw-r--r--]macros/Scilab-Arduino/buildmacros.sce35
3 files changed, 12 insertions, 27 deletions
diff --git a/macros/Scilab-Arduino/GetArduinoFunctions.sci b/macros/Scilab-Arduino/GetArduinoFunctions.sci
index eff61fe..69c4ab3 100644
--- a/macros/Scilab-Arduino/GetArduinoFunctions.sci
+++ b/macros/Scilab-Arduino/GetArduinoFunctions.sci
@@ -31,6 +31,6 @@ ArduinoFunctions = [
"cmd_servo_attach"
"cmd_servo_detach"
"cmd_servo_move"
- "i2c_dev"];
+ "cmd_i2c_dev"];
endfunction
diff --git a/macros/Scilab-Arduino/GetArduinoSetupFunctions.sci b/macros/Scilab-Arduino/GetArduinoSetupFunctions.sci
index d310648..78bda03 100644
--- a/macros/Scilab-Arduino/GetArduinoSetupFunctions.sci
+++ b/macros/Scilab-Arduino/GetArduinoSetupFunctions.sci
@@ -25,7 +25,7 @@ ArduinoSetupFunctions = [
"cmd_dcmotor_setup"
"cmd_servo_attach"
"cmd_servo_detach"
- "i2c_dev"];
+ "cmd_i2c_dev"];
endfunction
diff --git a/macros/Scilab-Arduino/buildmacros.sce b/macros/Scilab-Arduino/buildmacros.sce
index dfeb475..7d533f7 100644..100755
--- a/macros/Scilab-Arduino/buildmacros.sce
+++ b/macros/Scilab-Arduino/buildmacros.sce
@@ -1,28 +1,13 @@
-// This file is released into the public domain
-
-Directories = [ "ASTManagement", ...
- "CCodeGeneration", ...
- "ErrorMessages", ...
- "findDeps", ...
- "FunctionAnnotation", ...
- "FunctionList", ...
- "GeneralFunctions", ...
- "SymbolTable", ...
- "ToolInitialization"...
- "Hardware/AVR"...
- "Scilab-Arduino" ];
-
-
-current_path_buildmacros = get_absolute_file_path("buildmacros.sce");
-
-for K=1:size(Directories,"*")
- myfile = current_path_buildmacros + filesep() + Directories(K) + filesep() + "buildmacros.sce";
- if isfile(myfile) then
- exec(myfile);
- end
-end
-
-clear current_path_buildmacros;
+// Copyright (C) 2017 - IIT Bombay - FOSSEE
+//
+// This file must be used under the terms of the CeCILL.
+// This source file is licensed as described in the file COPYING, which
+// you should have received as part of this distribution. The terms
+// are also available at
+// http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
+// Author: Jorawar Singh
+// Organization: FOSSEE, IIT Bombay
+// Email: toolbox@scilab.in
tbx_build_macros(TOOLBOX_NAME, get_absolute_file_path('buildmacros.sce'));