diff --git a/samples/subsys/lorawan/class_a/README.rst b/samples/subsys/lorawan/class_a/README.rst index c29853ae064..22d9b8f3a48 100644 --- a/samples/subsys/lorawan/class_a/README.rst +++ b/samples/subsys/lorawan/class_a/README.rst @@ -25,30 +25,3 @@ The following commands build and flash the sample. :board: nucleo_wl55jc :goals: build flash :compact: - -Extended Configuration -********************** - -This sample can be configured to run the application-layer clock -synchronization service and/or the remote multicast setup 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: -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: diff --git a/samples/subsys/lorawan/class_a/overlay-clock-sync.conf b/samples/subsys/lorawan/class_a/overlay-clock-sync.conf deleted file mode 100644 index e19b01a42a6..00000000000 --- a/samples/subsys/lorawan/class_a/overlay-clock-sync.conf +++ /dev/null @@ -1,3 +0,0 @@ -CONFIG_LORAWAN_SERVICES=y -CONFIG_LORAWAN_SERVICES_LOG_LEVEL_DBG=y -CONFIG_LORAWAN_APP_CLOCK_SYNC=y diff --git a/samples/subsys/lorawan/class_a/overlay-multicast.conf b/samples/subsys/lorawan/class_a/overlay-multicast.conf deleted file mode 100644 index 6bd51655643..00000000000 --- a/samples/subsys/lorawan/class_a/overlay-multicast.conf +++ /dev/null @@ -1,9 +0,0 @@ -# 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 diff --git a/samples/subsys/lorawan/class_a/sample.yaml b/samples/subsys/lorawan/class_a/sample.yaml index 7a757da815d..c617ec5feb4 100644 --- a/samples/subsys/lorawan/class_a/sample.yaml +++ b/samples/subsys/lorawan/class_a/sample.yaml @@ -44,13 +44,3 @@ tests: extra_configs: - CONFIG_LORAMAC_REGION_EU868=y - CONFIG_LORAMAC_REGION_US915=y - sample.lorawan.class_a.clock_sync: - extra_args: OVERLAY_CONFIG="overlay-clock-sync.conf" - 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 diff --git a/samples/subsys/lorawan/class_a/src/main.c b/samples/subsys/lorawan/class_a/src/main.c index 76ff5529f57..1e31baf36e4 100644 --- a/samples/subsys/lorawan/class_a/src/main.c +++ b/samples/subsys/lorawan/class_a/src/main.c @@ -99,10 +99,6 @@ int main(void) return 0; } -#ifdef CONFIG_LORAWAN_APP_CLOCK_SYNC - lorawan_clock_sync_run(); -#endif - LOG_INF("Sending data..."); while (1) { ret = lorawan_send(2, data, sizeof(data),