From 2cc72e734241efee97a7f5bca5d8dbf8bbfcd492 Mon Sep 17 00:00:00 2001 From: jeromecoutant Date: Wed, 1 Jul 2020 15:59:49 +0200 Subject: [PATCH] Remove LED2 in integration tests - LED1 is sufficient - Use MBED_CONF_APP_NO_LED json config if LED1 doesn't exist --- TESTS/integration/fs-single/main.cpp | 2 -- TESTS/integration/fs-threaded/main.cpp | 2 -- TESTS/integration/net-single/main.cpp | 2 -- TESTS/integration/net-threaded/main.cpp | 2 -- TESTS/integration/stress-net-fs/main.cpp | 2 -- 5 files changed, 10 deletions(-) diff --git a/TESTS/integration/fs-single/main.cpp b/TESTS/integration/fs-single/main.cpp index b6585e005f..9c3e064ee2 100644 --- a/TESTS/integration/fs-single/main.cpp +++ b/TESTS/integration/fs-single/main.cpp @@ -50,11 +50,9 @@ using namespace utest::v1; #if !defined(MBED_CONF_APP_NO_LED) DigitalOut led1(LED1); -DigitalOut led2(LED2); void led_thread() { led1 = !led1; - led2 = !led1; } #endif diff --git a/TESTS/integration/fs-threaded/main.cpp b/TESTS/integration/fs-threaded/main.cpp index d1f9ca1d96..6748e9cdef 100644 --- a/TESTS/integration/fs-threaded/main.cpp +++ b/TESTS/integration/fs-threaded/main.cpp @@ -49,11 +49,9 @@ using namespace utest::v1; #if !defined(MBED_CONF_APP_NO_LED) DigitalOut led1(LED1); -DigitalOut led2(LED2); void led_thread() { led1 = !led1; - led2 = !led1; } #endif diff --git a/TESTS/integration/net-single/main.cpp b/TESTS/integration/net-single/main.cpp index 91a3b2da87..b0bfc7e645 100644 --- a/TESTS/integration/net-single/main.cpp +++ b/TESTS/integration/net-single/main.cpp @@ -49,11 +49,9 @@ using namespace utest::v1; #if !defined(MBED_CONF_APP_NO_LED) DigitalOut led1(LED1); -DigitalOut led2(LED2); void led_thread() { led1 = !led1; - led2 = !led1; } #endif diff --git a/TESTS/integration/net-threaded/main.cpp b/TESTS/integration/net-threaded/main.cpp index 428563048f..dbdf89997d 100644 --- a/TESTS/integration/net-threaded/main.cpp +++ b/TESTS/integration/net-threaded/main.cpp @@ -49,11 +49,9 @@ using namespace utest::v1; #if !defined(MBED_CONF_APP_NO_LED) DigitalOut led1(LED1); -DigitalOut led2(LED2); void led_thread() { led1 = !led1; - led2 = !led1; } #endif diff --git a/TESTS/integration/stress-net-fs/main.cpp b/TESTS/integration/stress-net-fs/main.cpp index e34afb25e0..d017553ec5 100644 --- a/TESTS/integration/stress-net-fs/main.cpp +++ b/TESTS/integration/stress-net-fs/main.cpp @@ -54,11 +54,9 @@ using namespace utest::v1; #if !defined(MBED_CONF_APP_NO_LED) DigitalOut led1(LED1); -DigitalOut led2(LED2); void led_thread() { led1 = !led1; - led2 = !led1; } #endif