diff options
author | yash1112 | 2017-06-19 05:40:46 +0530 |
---|---|---|
committer | yash1112 | 2017-06-19 05:40:46 +0530 |
commit | 3121a1f5a8203bfd14d46f71930ac5cd22afdf7d (patch) | |
tree | 42fc74d21d1506f2e69359f4083e2d17b4328394 /2.3-1/macros/CCodeGeneration | |
parent | 02a004ea1500c403ac1a18a52aaf79aaeb7280ed (diff) | |
download | Scilab2C-3121a1f5a8203bfd14d46f71930ac5cd22afdf7d.tar.gz Scilab2C-3121a1f5a8203bfd14d46f71930ac5cd22afdf7d.tar.bz2 Scilab2C-3121a1f5a8203bfd14d46f71930ac5cd22afdf7d.zip |
1.3 new scilab-arduino functions added2. all functions have been tested on hardware 3. 5 i2c library functions added 4. Now generates code for 27 Boards(arduino and lilypad). 5. New GUI
Diffstat (limited to '2.3-1/macros/CCodeGeneration')
27 files changed, 13 insertions, 0 deletions
diff --git a/2.3-1/macros/CCodeGeneration/C_FinalizeCode.bin b/2.3-1/macros/CCodeGeneration/C_FinalizeCode.bin Binary files differnew file mode 100644 index 00000000..b4005914 --- /dev/null +++ b/2.3-1/macros/CCodeGeneration/C_FinalizeCode.bin diff --git a/2.3-1/macros/CCodeGeneration/C_ForExpression.bin b/2.3-1/macros/CCodeGeneration/C_ForExpression.bin Binary files differnew file mode 100644 index 00000000..1c3f6747 --- /dev/null +++ b/2.3-1/macros/CCodeGeneration/C_ForExpression.bin diff --git a/2.3-1/macros/CCodeGeneration/C_Funcall.bin b/2.3-1/macros/CCodeGeneration/C_Funcall.bin Binary files differnew file mode 100644 index 00000000..80fda7c4 --- /dev/null +++ b/2.3-1/macros/CCodeGeneration/C_Funcall.bin diff --git a/2.3-1/macros/CCodeGeneration/C_GenDeclarations.bin b/2.3-1/macros/CCodeGeneration/C_GenDeclarations.bin Binary files differnew file mode 100644 index 00000000..c3b36009 --- /dev/null +++ b/2.3-1/macros/CCodeGeneration/C_GenDeclarations.bin diff --git a/2.3-1/macros/CCodeGeneration/C_GenerateFunName.bin b/2.3-1/macros/CCodeGeneration/C_GenerateFunName.bin Binary files differnew file mode 100644 index 00000000..1b723f16 --- /dev/null +++ b/2.3-1/macros/CCodeGeneration/C_GenerateFunName.bin diff --git a/2.3-1/macros/CCodeGeneration/C_GenerateLaunchScript.bin b/2.3-1/macros/CCodeGeneration/C_GenerateLaunchScript.bin Binary files differnew file mode 100644 index 00000000..587c1547 --- /dev/null +++ b/2.3-1/macros/CCodeGeneration/C_GenerateLaunchScript.bin diff --git a/2.3-1/macros/CCodeGeneration/C_GenerateMakefile.bin b/2.3-1/macros/CCodeGeneration/C_GenerateMakefile.bin Binary files differnew file mode 100644 index 00000000..cea86411 --- /dev/null +++ b/2.3-1/macros/CCodeGeneration/C_GenerateMakefile.bin diff --git a/2.3-1/macros/CCodeGeneration/C_GenerateMakefile_msvc.bin b/2.3-1/macros/CCodeGeneration/C_GenerateMakefile_msvc.bin Binary files differnew file mode 100644 index 00000000..838c674e --- /dev/null +++ b/2.3-1/macros/CCodeGeneration/C_GenerateMakefile_msvc.bin diff --git a/2.3-1/macros/CCodeGeneration/C_GenerateMkfle_arduino.bin b/2.3-1/macros/CCodeGeneration/C_GenerateMkfle_arduino.bin Binary files differnew file mode 100644 index 00000000..ce25219f --- /dev/null +++ b/2.3-1/macros/CCodeGeneration/C_GenerateMkfle_arduino.bin diff --git a/2.3-1/macros/CCodeGeneration/C_GenerateMkfle_arduino.sci b/2.3-1/macros/CCodeGeneration/C_GenerateMkfle_arduino.sci new file mode 100644 index 00000000..b43eb442 --- /dev/null +++ b/2.3-1/macros/CCodeGeneration/C_GenerateMkfle_arduino.sci @@ -0,0 +1,12 @@ +function C_GenerateMkfle_arduino(FileInfo,SharedInfo) + + PrintStringInfo('ARDUINO_DIR = /usr/share/arduino',FileInfo.MakefileFilename,'file','y','y'); + PrintStringInfo('ARDMK_DIR = /usr/share/arduino',FileInfo.MakefileFilename,'file','y','y'); + PrintStringInfo('AVR_TOOLS_DIR = /usr',FileInfo.MakefileFilename,'file','y','y'); + PrintStringInfo('BOARD_TAG = ' + SharedInfo.Board_name ,FileInfo.MakefileFilename,'file','y','y'); + PrintStringInfo('USER_LIB_PATH = ../',FileInfo.MakefileFilename,'file','y','y'); + PrintStringInfo('ARDUINO_LIBS = ../src/c ../includes ../interfaces ../ Wire',FileInfo.MakefileFilename,'file','y','y'); + PrintStringInfo('ARDUINO_PORT = /dev/ttyACM0',FileInfo.MakefileFilename,'file','y','y'); + PrintStringInfo('include /usr/share/arduino/Arduino.mk',FileInfo.MakefileFilename,'file','y','y'); + +endfunction diff --git a/2.3-1/macros/CCodeGeneration/C_GenerateSCI2CHeader.bin b/2.3-1/macros/CCodeGeneration/C_GenerateSCI2CHeader.bin Binary files differnew file mode 100644 index 00000000..2e02cae4 --- /dev/null +++ b/2.3-1/macros/CCodeGeneration/C_GenerateSCI2CHeader.bin diff --git a/2.3-1/macros/CCodeGeneration/C_IfElseBlocks.bin b/2.3-1/macros/CCodeGeneration/C_IfElseBlocks.bin Binary files differnew file mode 100644 index 00000000..332e89bf --- /dev/null +++ b/2.3-1/macros/CCodeGeneration/C_IfElseBlocks.bin diff --git a/2.3-1/macros/CCodeGeneration/C_IfExpression.bin b/2.3-1/macros/CCodeGeneration/C_IfExpression.bin Binary files differnew file mode 100644 index 00000000..c6cda7bd --- /dev/null +++ b/2.3-1/macros/CCodeGeneration/C_IfExpression.bin diff --git a/2.3-1/macros/CCodeGeneration/C_IndentBlanks.bin b/2.3-1/macros/CCodeGeneration/C_IndentBlanks.bin Binary files differnew file mode 100644 index 00000000..77bfaebc --- /dev/null +++ b/2.3-1/macros/CCodeGeneration/C_IndentBlanks.bin diff --git a/2.3-1/macros/CCodeGeneration/C_InitHeader.bin b/2.3-1/macros/CCodeGeneration/C_InitHeader.bin Binary files differnew file mode 100644 index 00000000..567822c0 --- /dev/null +++ b/2.3-1/macros/CCodeGeneration/C_InitHeader.bin diff --git a/2.3-1/macros/CCodeGeneration/C_MemAllocOutTempVars.bin b/2.3-1/macros/CCodeGeneration/C_MemAllocOutTempVars.bin Binary files differnew file mode 100644 index 00000000..443ad3c1 --- /dev/null +++ b/2.3-1/macros/CCodeGeneration/C_MemAllocOutTempVars.bin diff --git a/2.3-1/macros/CCodeGeneration/C_SCI2CHeader.bin b/2.3-1/macros/CCodeGeneration/C_SCI2CHeader.bin Binary files differnew file mode 100644 index 00000000..1d3e6182 --- /dev/null +++ b/2.3-1/macros/CCodeGeneration/C_SCI2CHeader.bin diff --git a/2.3-1/macros/CCodeGeneration/C_Type.bin b/2.3-1/macros/CCodeGeneration/C_Type.bin Binary files differnew file mode 100644 index 00000000..7b5bf444 --- /dev/null +++ b/2.3-1/macros/CCodeGeneration/C_Type.bin diff --git a/2.3-1/macros/CCodeGeneration/C_WhileExpression.bin b/2.3-1/macros/CCodeGeneration/C_WhileExpression.bin Binary files differnew file mode 100644 index 00000000..cff8f38d --- /dev/null +++ b/2.3-1/macros/CCodeGeneration/C_WhileExpression.bin diff --git a/2.3-1/macros/CCodeGeneration/GenCFunDatFiles.bin b/2.3-1/macros/CCodeGeneration/GenCFunDatFiles.bin Binary files differnew file mode 100644 index 00000000..6a374f5b --- /dev/null +++ b/2.3-1/macros/CCodeGeneration/GenCFunDatFiles.bin diff --git a/2.3-1/macros/CCodeGeneration/GetClsFileName.bin b/2.3-1/macros/CCodeGeneration/GetClsFileName.bin Binary files differnew file mode 100644 index 00000000..30b25713 --- /dev/null +++ b/2.3-1/macros/CCodeGeneration/GetClsFileName.bin diff --git a/2.3-1/macros/CCodeGeneration/GetSymbolDimension.bin b/2.3-1/macros/CCodeGeneration/GetSymbolDimension.bin Binary files differnew file mode 100644 index 00000000..5c73f435 --- /dev/null +++ b/2.3-1/macros/CCodeGeneration/GetSymbolDimension.bin diff --git a/2.3-1/macros/CCodeGeneration/GetWhileCondVariable.bin b/2.3-1/macros/CCodeGeneration/GetWhileCondVariable.bin Binary files differnew file mode 100644 index 00000000..6815fb4b --- /dev/null +++ b/2.3-1/macros/CCodeGeneration/GetWhileCondVariable.bin diff --git a/2.3-1/macros/CCodeGeneration/JoinDeclarAndCcode.bin b/2.3-1/macros/CCodeGeneration/JoinDeclarAndCcode.bin Binary files differnew file mode 100644 index 00000000..084ab085 --- /dev/null +++ b/2.3-1/macros/CCodeGeneration/JoinDeclarAndCcode.bin diff --git a/2.3-1/macros/CCodeGeneration/Sci2AnnotationFile.bin b/2.3-1/macros/CCodeGeneration/Sci2AnnotationFile.bin Binary files differnew file mode 100644 index 00000000..95fe5611 --- /dev/null +++ b/2.3-1/macros/CCodeGeneration/Sci2AnnotationFile.bin diff --git a/2.3-1/macros/CCodeGeneration/lib b/2.3-1/macros/CCodeGeneration/lib Binary files differindex 2db4b8c8..d0cb0a22 100644 --- a/2.3-1/macros/CCodeGeneration/lib +++ b/2.3-1/macros/CCodeGeneration/lib diff --git a/2.3-1/macros/CCodeGeneration/names b/2.3-1/macros/CCodeGeneration/names index efbb400a..5311c7fd 100644 --- a/2.3-1/macros/CCodeGeneration/names +++ b/2.3-1/macros/CCodeGeneration/names @@ -6,6 +6,7 @@ C_GenerateFunName C_GenerateLaunchScript C_GenerateMakefile C_GenerateMakefile_msvc +C_GenerateMkfle_arduino C_GenerateSCI2CHeader C_IfElseBlocks C_IfExpression |