mbed-os/TESTS/lorawan/loraradio
Kevin Bracey 2fbbd9d2ca Introduce Semaphore::acquire methods
Deprecate wait() in favour of acquire(), try_acquire(),
try_acquire_for() and try_acquire_until().

Brings Semaphore more into line with CMSIS-RTOS 2 (which uses "acquire"),
itself (as it has "release"), and other classes having "try", "try for"
and "try until".

Also steps away from vague "wait" term - the primary operation here is
to acquire the semaphore, and this will of course sleep.
2019-05-28 17:02:06 +03:00
..
README.md Lora: Add greentea tests for LoRaRadio API 2018-05-29 15:00:49 +03:00
main.cpp Introduce Semaphore::acquire methods 2019-05-28 17:02:06 +03:00
template_mbed_app.txt Lora: Add greentea tests for LoRaRadio API 2018-05-29 15:00:49 +03:00

README.md

Description

This document describes how to run LoRaRadio API tests.

Configuring target HW

Before starting to test, the target HW must be configured for the test. This can be done by either modifying the application configuration json file (if using currently supported Semtech SX1272 or SX1276 radios) or implementing driver construction into test source.

The default mbed_app.json file provides configuration for some already supported HWs.

Running tests

You can use the following command to run tests:

mbed test -n mbed-os-tests-lorawan-loraradio -m TARGET -t GCC_ARM --app-config mbed-os/TESTS/lorawan/loraradio/template_mbed_app.txt

Replace TARGET with the target device.