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/findDeps/getAllHeaders.sci | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'macros/findDeps/getAllHeaders.sci') diff --git a/macros/findDeps/getAllHeaders.sci b/macros/findDeps/getAllHeaders.sci index e152514..f5c74bd 100644 --- a/macros/findDeps/getAllHeaders.sci +++ b/macros/findDeps/getAllHeaders.sci @@ -136,10 +136,17 @@ function allHeaders = getAllHeaders(OutFormat) "src/c/scilab-arduino/includes/cmd_analog_in.h" "src/c/scilab-arduino/includes/sleep.h"]; + AVR_headers = [ + "src/c/hardware/avr/includes/AVRPeripheralGPIO.h" + "src/c/hardware/avr/includes/AVRPeripheralADC.h" + ]; + if OutFormat == "StandAlone" allHeaders = Standalone_headers; elseif OutFormat == "Arduino" allHeaders = cat(1,Standalone_headers, Arduino_headers); + elseif OutFormat == "AVR" + allHeaders = cat(1,Standalone_headers, AVR_headers); end endfunction -- cgit