aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRalf Kistner <ralf@embarkmobile.com>2014-12-20 18:11:32 +0200
committerRalf Kistner <ralf@embarkmobile.com>2014-12-20 18:11:32 +0200
commitd62f9a01fed3f2cfcc352f20029df38d3cc48152 (patch)
treee3e3f7e4949c0b7090f7eeda19e5c2a5f2ab2a01
parenta58ce2429229dcab6e5b41418a6eeb9627ce354d (diff)
Add another example to the test suite.
-rw-r--r--examples/CompileTest/CompileTest.ino15
-rwxr-xr-xverify.sh1
2 files changed, 16 insertions, 0 deletions
diff --git a/examples/CompileTest/CompileTest.ino b/examples/CompileTest/CompileTest.ino
new file mode 100644
index 0000000..800ebba
--- /dev/null
+++ b/examples/CompileTest/CompileTest.ino
@@ -0,0 +1,15 @@
+#include <HardwareSerial.h>
+#include <SPI.h>
+
+// Not an actual example - we just want to test that this does compile.
+// This ensures the availability of the Serial interface.
+
+void setup() {
+ Serial.begin(9600);
+}
+
+void loop() {
+
+}
+
+
diff --git a/verify.sh b/verify.sh
index 7e7f985..dd5eb85 100755
--- a/verify.sh
+++ b/verify.sh
@@ -25,5 +25,6 @@ for board in "arcore:avr:leonardo" "arcore:avr:leonardo2" "arcore:avr:micro"
do
example "Empty" $board
example "MidiEcho" $board
+ example "CompileTest" $board
done