summaryrefslogtreecommitdiff
path: root/macros/Hardware/buildmacros.sce
diff options
context:
space:
mode:
authorsiddhu89902015-11-28 11:01:40 +0530
committersiddhu89902015-11-28 11:01:40 +0530
commit88c02bb9dad7d955676fe44f6595f996bde3f07e (patch)
treee8c018a5a9535b2bd06356d4c5abf0368bbe9845 /macros/Hardware/buildmacros.sce
parentdd343609eabf4afcee2aa8eeeda3a383333d30e5 (diff)
downloadScilab2C_fossee_old-88c02bb9dad7d955676fe44f6595f996bde3f07e.tar.gz
Scilab2C_fossee_old-88c02bb9dad7d955676fe44f6595f996bde3f07e.tar.bz2
Scilab2C_fossee_old-88c02bb9dad7d955676fe44f6595f996bde3f07e.zip
Intermediate commit aith support added for AVR (GPIO,ADC). Does not support other targets.
Diffstat (limited to 'macros/Hardware/buildmacros.sce')
-rw-r--r--macros/Hardware/buildmacros.sce19
1 files changed, 19 insertions, 0 deletions
diff --git a/macros/Hardware/buildmacros.sce b/macros/Hardware/buildmacros.sce
new file mode 100644
index 0000000..88f0fb2
--- /dev/null
+++ b/macros/Hardware/buildmacros.sce
@@ -0,0 +1,19 @@
+// This file is released into the public domain
+
+Directories = [ "AVR" ];
+
+
+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;
+
+tbx_build_macros(TOOLBOX_NAME, get_absolute_file_path('buildmacros.sce'));
+
+clear tbx_build_macros;