mirror of https://github.com/ARMmbed/mbed-os.git
Added mbed blinky to tests
parent
362d6c83ff
commit
ac85b9f6a0
|
|
@ -0,0 +1,12 @@
|
|||
#include "mbed.h"
|
||||
|
||||
DigitalOut myled(LED1);
|
||||
|
||||
int main() {
|
||||
while(1) {
|
||||
myled = 1;
|
||||
wait(0.2);
|
||||
myled = 0;
|
||||
wait(0.2);
|
||||
}
|
||||
}
|
||||
|
|
@ -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)",
|
||||
|
|
|
|||
Loading…
Reference in New Issue