diff options
author | imushir | 2016-02-09 16:38:27 +0530 |
---|---|---|
committer | imushir | 2016-02-09 16:38:27 +0530 |
commit | ee5bf4d90f78673d1e4d5a9dd304ee53c503c085 (patch) | |
tree | 696221a8f8a3dffeb50d12ea287dfbdfab919fc6 /macros/ASTManagement | |
parent | 8ee41aca4183a0239b9cb220de3f159b1f0910fb (diff) | |
download | scilab2c-ee5bf4d90f78673d1e4d5a9dd304ee53c503c085.tar.gz scilab2c-ee5bf4d90f78673d1e4d5a9dd304ee53c503c085.tar.bz2 scilab2c-ee5bf4d90f78673d1e4d5a9dd304ee53c503c085.zip |
Support for Servo motor for Arduino. Support for'diag' in c
Diffstat (limited to 'macros/ASTManagement')
-rw-r--r-- | macros/ASTManagement/AST2Ccode.bin | bin | 31992 -> 31996 bytes | |||
-rw-r--r-- | macros/ASTManagement/AST2Ccode.sci | 1 | ||||
-rw-r--r-- | macros/ASTManagement/AST_HandleEndGenFun.bin | bin | 81440 -> 81536 bytes | |||
-rw-r--r-- | macros/ASTManagement/AST_HandleEndGenFun.sci | 5 | ||||
-rw-r--r-- | macros/ASTManagement/lib | bin | 1680 -> 1676 bytes |
5 files changed, 4 insertions, 2 deletions
diff --git a/macros/ASTManagement/AST2Ccode.bin b/macros/ASTManagement/AST2Ccode.bin Binary files differindex 8a4fc960..5f8c96b5 100644 --- a/macros/ASTManagement/AST2Ccode.bin +++ b/macros/ASTManagement/AST2Ccode.bin diff --git a/macros/ASTManagement/AST2Ccode.sci b/macros/ASTManagement/AST2Ccode.sci index 7c95572e..275aadf4 100644 --- a/macros/ASTManagement/AST2Ccode.sci +++ b/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/macros/ASTManagement/AST_HandleEndGenFun.bin b/macros/ASTManagement/AST_HandleEndGenFun.bin Binary files differindex d5d2e4ab..bfb9f7fe 100644 --- a/macros/ASTManagement/AST_HandleEndGenFun.bin +++ b/macros/ASTManagement/AST_HandleEndGenFun.bin diff --git a/macros/ASTManagement/AST_HandleEndGenFun.sci b/macros/ASTManagement/AST_HandleEndGenFun.sci index f6ae58e7..7d940b84 100644 --- a/macros/ASTManagement/AST_HandleEndGenFun.sci +++ b/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/macros/ASTManagement/lib b/macros/ASTManagement/lib Binary files differindex 36d91dec..06ca43d1 100644 --- a/macros/ASTManagement/lib +++ b/macros/ASTManagement/lib |