From d9d92203ea349d5eb44c0edc5565d827322caabe Mon Sep 17 00:00:00 2001
From: Jorawar Singh
Date: Sun, 16 Jul 2017 22:17:43 +0530
Subject: Toolbox merge, RPI demos and structured demos

---
 demos/RPi/RPi.dem.gateway.sce         | 17 +++++++++++++++++
 demos/RPi/test_wait_and_blink.dem.sce | 19 +++++++++++++++++++
 2 files changed, 36 insertions(+)
 create mode 100644 demos/RPi/RPi.dem.gateway.sce
 create mode 100644 demos/RPi/test_wait_and_blink.dem.sce

(limited to 'demos/RPi')

diff --git a/demos/RPi/RPi.dem.gateway.sce b/demos/RPi/RPi.dem.gateway.sce
new file mode 100644
index 00000000..29d4c710
--- /dev/null
+++ b/demos/RPi/RPi.dem.gateway.sce
@@ -0,0 +1,17 @@
+// Copyright (C) 2017 - IIT Bombay - FOSSEE
+//
+// This file must be used under the terms of the CeCILL.
+// This source file is licensed as described in the file COPYING, which
+// you should have received as part of this distribution.  The terms
+// are also available at
+// http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
+// Author: Jorawar Singh, Sandeep Gupta
+// Organization: FOSSEE, IIT Bombay
+// Email: toolbox@scilab.in
+
+
+subdemolist = ["Wait and Blink","test_wait_and_blink.dem.sce";
+              ];
+
+global SCI2CHOME;
+subdemolist(:,2) = SCI2CHOME + "/demos/RPi/"+ subdemolist(:,2);
diff --git a/demos/RPi/test_wait_and_blink.dem.sce b/demos/RPi/test_wait_and_blink.dem.sce
new file mode 100644
index 00000000..31396c60
--- /dev/null
+++ b/demos/RPi/test_wait_and_blink.dem.sce
@@ -0,0 +1,19 @@
+// Copyright (C) 2017 - IIT Bombay - FOSSEE
+//
+// This file must be used under the terms of the CeCILL.
+// This source file is licensed as described in the file COPYING, which
+// you should have received as part of this distribution.  The terms
+// are also available at
+// http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
+// Author: Jorawar Singh, Sandeep Gupta
+// Organization: FOSSEE, IIT Bombay
+// Email: toolbox@scilab.in
+//
+
+lines(0);
+
+global SCI2CHOME
+
+scilab2c(SCI2CHOME + "/tests/unit_tests/test_RPi/wait_and_blink.sci", TMPDIR,SCI2CHOME + "/tests/unit_tests/test_RPi/", "All", "make" ,"RPi", "uno");
+
+editor([TMPDIR+"/main.c"]);
-- 
cgit