summaryrefslogtreecommitdiff
path: root/2.3-1/includes/sci2clib.h
diff options
context:
space:
mode:
authorsiddhu89902015-11-28 11:01:40 +0530
committersiddhu89902015-11-28 11:01:40 +0530
commit128638e88ce6d8414c9e1061faa96008be9bcda5 (patch)
treec38d4dbbed3ee4f3e71f263693d408e8bee519bc /2.3-1/includes/sci2clib.h
parent3bcc8ce62560f36eaaab0e064b169b0118f354f3 (diff)
downloadScilab2C-128638e88ce6d8414c9e1061faa96008be9bcda5.tar.gz
Scilab2C-128638e88ce6d8414c9e1061faa96008be9bcda5.tar.bz2
Scilab2C-128638e88ce6d8414c9e1061faa96008be9bcda5.zip
Intermediate commit aith support added for AVR (GPIO,ADC). Does not support other targets.
Diffstat (limited to '2.3-1/includes/sci2clib.h')
-rw-r--r--2.3-1/includes/sci2clib.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/2.3-1/includes/sci2clib.h b/2.3-1/includes/sci2clib.h
index aa6a9cc6..b9820bcd 100644
--- a/2.3-1/includes/sci2clib.h
+++ b/2.3-1/includes/sci2clib.h
@@ -330,6 +330,7 @@
#include "types.h"
/*Scilab-arduino toolbox*/
+#ifdef ARDUINO
#include "int_cmd_digital_out.h"
#include "cmd_digital_out.h"
#include "int_cmd_digital_in.h"
@@ -340,5 +341,15 @@
#include "cmd_analog_in.h"
#include "int_sleep.h"
#include "sleep.h"
+#endif
+
+/*AVR*/
+#ifdef AVR
+#include "int_AVRPeripheralGPIO.h"
+#include "AVRPeripheralGPIO.h"
+#include "int_AVRPeripheralADC.h"
+#include "AVRPeripheralADC.h"
+
+#endif
#endif /* !__SCI2CLIB_H__ */