diff options
| author | Ralf Kistner <ralf@embarkmobile.com> | 2014-12-20 18:11:32 +0200 |
|---|---|---|
| committer | Ralf Kistner <ralf@embarkmobile.com> | 2014-12-20 18:11:32 +0200 |
| commit | d62f9a01fed3f2cfcc352f20029df38d3cc48152 (patch) | |
| tree | e3e3f7e4949c0b7090f7eeda19e5c2a5f2ab2a01 | |
| parent | a58ce2429229dcab6e5b41418a6eeb9627ce354d (diff) | |
Add another example to the test suite.
| -rw-r--r-- | examples/CompileTest/CompileTest.ino | 15 | ||||
| -rwxr-xr-x | verify.sh | 1 |
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() { + +} + + @@ -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 |
