mbed-os/TESTS/lorawan/loraradio
Deepika 9db31d299b Resolve build issues in test
mbed.h was added in test, via greentea and utest header files. 'mbed.h' is removed
from header files and required header file and namespace is added to CPP/C files
2018-10-16 11:50:16 -05:00
..
README.md Lora: Add greentea tests for LoRaRadio API 2018-05-29 15:00:49 +03:00
main.cpp Resolve build issues in test 2018-10-16 11:50:16 -05: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.