summaryrefslogtreecommitdiff
path: root/2.3-1/macros/ASTManagement
diff options
context:
space:
mode:
authorimushir2016-02-09 16:38:27 +0530
committerimushir2016-02-09 16:38:27 +0530
commita6efab1a42eda8c1e3902c2f2d030a9cb9cfd25e (patch)
tree70d366ae6a84d201f23895071a8064068e77011f /2.3-1/macros/ASTManagement
parent7bc57b2061931e5b5843ac6616591b7cff9e9476 (diff)
downloadScilab2C-a6efab1a42eda8c1e3902c2f2d030a9cb9cfd25e.tar.gz
Scilab2C-a6efab1a42eda8c1e3902c2f2d030a9cb9cfd25e.tar.bz2
Scilab2C-a6efab1a42eda8c1e3902c2f2d030a9cb9cfd25e.zip
Support for Servo motor for Arduino. Support for'diag' in c
Diffstat (limited to '2.3-1/macros/ASTManagement')
-rw-r--r--2.3-1/macros/ASTManagement/AST2Ccode.binbin31992 -> 31996 bytes
-rw-r--r--2.3-1/macros/ASTManagement/AST2Ccode.sci1
-rw-r--r--2.3-1/macros/ASTManagement/AST_HandleEndGenFun.binbin81440 -> 81536 bytes
-rw-r--r--2.3-1/macros/ASTManagement/AST_HandleEndGenFun.sci5
-rw-r--r--2.3-1/macros/ASTManagement/libbin1680 -> 1676 bytes
5 files changed, 4 insertions, 2 deletions
diff --git a/2.3-1/macros/ASTManagement/AST2Ccode.bin b/2.3-1/macros/ASTManagement/AST2Ccode.bin
index 8a4fc960..5f8c96b5 100644
--- a/2.3-1/macros/ASTManagement/AST2Ccode.bin
+++ b/2.3-1/macros/ASTManagement/AST2Ccode.bin
Binary files differ
diff --git a/2.3-1/macros/ASTManagement/AST2Ccode.sci b/2.3-1/macros/ASTManagement/AST2Ccode.sci
index 7c95572e..275aadf4 100644
--- a/2.3-1/macros/ASTManagement/AST2Ccode.sci
+++ b/2.3-1/macros/ASTManagement/AST2Ccode.sci
@@ -60,6 +60,7 @@ STACKDEDUG = 0; // 1 -> Every Pop and Push operation on the stack, the stack con
ASTFileName = FileInfo.Funct(nxtscifunnumber).ASTFileName;
+
// -----------------------
// --- Initialization. ---
// -----------------------
diff --git a/2.3-1/macros/ASTManagement/AST_HandleEndGenFun.bin b/2.3-1/macros/ASTManagement/AST_HandleEndGenFun.bin
index d5d2e4ab..bfb9f7fe 100644
--- a/2.3-1/macros/ASTManagement/AST_HandleEndGenFun.bin
+++ b/2.3-1/macros/ASTManagement/AST_HandleEndGenFun.bin
Binary files differ
diff --git a/2.3-1/macros/ASTManagement/AST_HandleEndGenFun.sci b/2.3-1/macros/ASTManagement/AST_HandleEndGenFun.sci
index f6ae58e7..7d940b84 100644
--- a/2.3-1/macros/ASTManagement/AST_HandleEndGenFun.sci
+++ b/2.3-1/macros/ASTManagement/AST_HandleEndGenFun.sci
@@ -209,7 +209,7 @@ global STACKDEDUG
if ((InArg(cntin).Dimension > 0))
// if ((InArg(cntin).Dimension > 0) & (InArg(cntin).Scope ~= 'Global'))
InArg(cntin).Size(1) = '__'+InArg(cntin).Name+'Size[0]';
- InArg(cntin).Size(2) = '__'+InArg(cntin).Name+'Size[1]';
+ InArg(cntin).Size(2) = '__'+InArg(cntin).Name+'Size[1]';s
end
//#RNUREM_MERNU vedi se la seguente fa casino l'ho aggiunta in modo che agia=ones(1,3) sia generata come realloc ma non ho verificato.
tmpscope = InArg(cntin).Scope;
@@ -356,7 +356,8 @@ global STACKDEDUG
//#RNU_RES_E
CFunName = C_GenerateFunName(ASTFunName,InArg,NInArg,OutArg,NOutArg);
- //#RNU_RES_B
+
+ //#RNU_RES_B
PrintStringInfo(' C Function Name: '+CFunName,ReportFileName,'file','y');
if(IsArduinoFunction(ASTFunName))
if(IsArduinoSetupFunction(ASTFunName))
diff --git a/2.3-1/macros/ASTManagement/lib b/2.3-1/macros/ASTManagement/lib
index 36d91dec..06ca43d1 100644
--- a/2.3-1/macros/ASTManagement/lib
+++ b/2.3-1/macros/ASTManagement/lib
Binary files differ