Added mbed blinky to tests

pull/391/head
Mihail Stoyanov 2014-07-04 20:10:28 +03:00
parent 362d6c83ff
commit ac85b9f6a0
2 changed files with 19 additions and 1 deletions

View File

@ -0,0 +1,12 @@
#include "mbed.h"
DigitalOut myled(LED1);
int main() {
while(1) {
myled = 1;
wait(0.2);
myled = 0;
wait(0.2);
}
}

View File

@ -246,7 +246,13 @@ TESTS = [
"automated": True,
"duration": 15,
},
{
"id": "MBED_BLINKY", "description": "Blinky",
"source_dir": join(TEST_DIR, "mbed", "blinky"),
"dependencies": [MBED_LIBRARIES, TEST_MBED_LIB],
"automated": False,
},
# Size benchmarks
{
"id": "BENCHMARK_1", "description": "Size (c environment)",