zephyr/samples/subsys/lorawan/class_a
Martin Jäger 5dd50f9232 samples: subsys: lorawan: class_a: add clock sync option
Add an option to build the sample with application-layer clock sync
service running in the background.

This will also add a build-check for the clock sync service in CI.

Signed-off-by: Martin Jäger <martin@libre.solar>
2023-01-23 10:05:49 +00:00
..
src samples: subsys: lorawan: class_a: add clock sync option 2023-01-23 10:05:49 +00:00
CMakeLists.txt cmake: increase minimal required version to 3.20.0 2021-08-20 09:47:34 +02:00
overlay-clock-sync.conf samples: subsys: lorawan: class_a: add clock sync option 2023-01-23 10:05:49 +00:00
prj.conf
README.rst samples: subsys: lorawan: class_a: add clock sync option 2023-01-23 10:05:49 +00:00
sample.yaml samples: subsys: lorawan: class_a: add clock sync option 2023-01-23 10:05:49 +00:00

.. _lorawan_class_a_sample:

LoRaWAN Class A Sample
######################

Overview
********

A simple application to demonstrate the LoRaWAN subsystem of Zephyr.

Building and Running
********************

This sample can be found under
:zephyr_file:`samples/subsys/lorawan/class_a` in the Zephyr tree.

Before building the sample, make sure to select the correct region in the
``prj.conf`` file.

The following commands build and flash the sample.

.. zephyr-app-commands::
   :zephyr-app: samples/subsys/lorawan/class_a
   :board: nucleo_wl55jc
   :goals: build flash
   :compact:

Extended Configuration
**********************

This sample can be configured to run the application-layer clock
synchronization service in the background.

The following commands build and flash the sample with clock synchronization
enabled.

.. zephyr-app-commands::
   :zephyr-app: samples/subsys/lorawan/class_a
   :board: nucleo_wl55jc
   :goals: build flash
   :gen-args: -DOVERLAY_CONFIG=overlay-clock-sync.conf
   :compact: