samples: subsys: lorawan: class_a: add multicast support

This is mainly to make sure that the multicast code is built in CI.

Signed-off-by: Martin Jäger <martin@libre.solar>
This commit is contained in:
Martin Jäger 2024-01-13 12:46:11 +01:00 committed by Fabio Baltieri
parent d833ab746b
commit 60c58fe918
3 changed files with 26 additions and 1 deletions

View file

@ -30,7 +30,8 @@ Extended Configuration
**********************
This sample can be configured to run the application-layer clock
synchronization service in the background.
synchronization service and/or the remote multicast setup service
in the background.
The following commands build and flash the sample with clock synchronization
enabled.
@ -41,3 +42,13 @@ enabled.
:goals: build flash
:gen-args: -DEXTRA_CONF_FILE=overlay-clock-sync.conf
:compact:
The following commands build and flash the sample with remote multicast setup
enabled.
.. zephyr-app-commands::
:zephyr-app: samples/subsys/lorawan/class_a
:board: nucleo_wl55jc
:goals: build flash
:gen-args: -DEXTRA_CONF_FILE=overlay-multicast.conf
:compact:

View file

@ -0,0 +1,9 @@
# NVS required to store LoRaWAN DevNonce and multicast sessions
CONFIG_NVS=y
CONFIG_SETTINGS=y
CONFIG_LORAWAN_NVM_SETTINGS=y
CONFIG_LORAWAN_SERVICES=y
CONFIG_LORAWAN_SERVICES_LOG_LEVEL_DBG=y
CONFIG_LORAWAN_APP_CLOCK_SYNC=y
CONFIG_LORAWAN_REMOTE_MULTICAST=y

View file

@ -49,3 +49,8 @@ tests:
filter: CONFIG_ENTROPY_HAS_DRIVER
integration_platforms:
- nucleo_wl55jc
sample.lorawan.class_a.multicast:
extra_args: OVERLAY_CONFIG="overlay-multicast.conf"
filter: CONFIG_ENTROPY_HAS_DRIVER
integration_platforms:
- nucleo_wl55jc