Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 11 additions & 11 deletions TESTS/lorawan/loraradio/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,17 +17,6 @@
#error [NOT_SUPPORTED] LORADIO test cases require a RTOS to run.
#else

#include "utest.h"
#include "unity.h"
#include "greentea-client/test_env.h"

#include "Semaphore.h"

#include "mbed_trace.h"
#define TRACE_GROUP "RTST"

#include "LoRaRadio.h"

#define SX1272 0xFF
#define SX1276 0xEE

Expand All @@ -39,6 +28,17 @@
#error [NOT_SUPPORTED] Requires parameters from application config file.
#endif

#include "utest.h"
#include "unity.h"
#include "greentea-client/test_env.h"

#include "Semaphore.h"

#include "mbed_trace.h"
#define TRACE_GROUP "RTST"

#include "LoRaRadio.h"

#if (MBED_CONF_APP_LORA_RADIO == SX1272) || (MBED_CONF_APP_LORA_RADIO == SX1276)

using namespace utest::v1;
Expand Down
8 changes: 4 additions & 4 deletions TESTS/nfc/eeprom/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@
* limitations under the License.
*/

#if !MBED_CONF_NFCEEPROM
#error [NOT_SUPPORTED] NFC EEPROM not supported for this target
#else

#include "mbed.h"
#include "greentea-client/test_env.h"
#include "unity.h"
Expand All @@ -23,10 +27,6 @@
#include <events/mbed_events.h>
#include "NFCEEPROMDriver.h"

#if !MBED_CONF_NFCEEPROM
#error [NOT_SUPPORTED] NFC EEPROM not supported for this target
#else

using namespace utest::v1;
using namespace mbed::nfc;

Expand Down