From 88c02bb9dad7d955676fe44f6595f996bde3f07e Mon Sep 17 00:00:00 2001 From: siddhu8990 Date: Sat, 28 Nov 2015 11:01:40 +0530 Subject: Intermediate commit aith support added for AVR (GPIO,ADC). Does not support other targets. --- macros/Hardware/buildmacros.sce | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 macros/Hardware/buildmacros.sce (limited to 'macros/Hardware/buildmacros.sce') 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; -- cgit