mbed-os/TESTS/lorawan/loraradio
Kimmo Vaisanen 4ba82c0892 Lora: Add greentea tests for LoRaRadio API
This LoRaRadio test set adds basic tests which can be run with a single HW.
2018-05-29 15:00:49 +03:00
..
README.md Lora: Add greentea tests for LoRaRadio API 2018-05-29 15:00:49 +03:00
main.cpp Lora: Add greentea tests for LoRaRadio API 2018-05-29 15:00:49 +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.