diff options
author | Sandeep Gupta | 2017-06-21 12:42:02 +0530 |
---|---|---|
committer | Sandeep Gupta | 2017-06-21 12:42:02 +0530 |
commit | d8c9e974d3ce553198b487dadc51c7612e92de85 (patch) | |
tree | 7dc3555c1675960321ce93b2df81915f2b8840e7 /macros/CCodeGeneration/C_GenerateMkfle_arduino.sci | |
parent | 681fe5c15be0a3a29dc9fdfa30142916a2ce6675 (diff) | |
parent | e92d6c6791aae06053637ad3bf6b0f9d8986986c (diff) | |
download | scilab2c-d8c9e974d3ce553198b487dadc51c7612e92de85.tar.gz scilab2c-d8c9e974d3ce553198b487dadc51c7612e92de85.tar.bz2 scilab2c-d8c9e974d3ce553198b487dadc51c7612e92de85.zip |
Updated - Linear Algebra
Diffstat (limited to 'macros/CCodeGeneration/C_GenerateMkfle_arduino.sci')
-rw-r--r-- | macros/CCodeGeneration/C_GenerateMkfle_arduino.sci | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/macros/CCodeGeneration/C_GenerateMkfle_arduino.sci b/macros/CCodeGeneration/C_GenerateMkfle_arduino.sci new file mode 100644 index 00000000..b43eb442 --- /dev/null +++ b/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 |