From 9465610d9f0927ce245e640e824fd669af17cdec Mon Sep 17 00:00:00 2001 From: Gerard Marull-Paretas Date: Tue, 26 Nov 2024 20:37:25 +0100 Subject: [PATCH] samples, tests: lora: remove CONFIG_SPI|GPIO=y This is no longer needed, drivers selects SPI and GPIO as needed. Signed-off-by: Gerard Marull-Paretas --- samples/drivers/lora/receive/prj.conf | 2 -- samples/drivers/lora/send/prj.conf | 2 -- samples/subsys/lorawan/class_a/prj.conf | 2 -- samples/subsys/lorawan/fuota/prj.conf | 4 +--- tests/drivers/build_all/lora/prj.conf | 1 - tests/subsys/lorawan/channels_mask/prj.conf | 2 -- tests/subsys/lorawan/clock_sync/prj.conf | 4 +--- tests/subsys/lorawan/frag_decoder/prj.conf | 4 +--- tests/subsys/mgmt/mcumgr/transport_lorawan/prj.conf | 1 - 9 files changed, 3 insertions(+), 19 deletions(-) diff --git a/samples/drivers/lora/receive/prj.conf b/samples/drivers/lora/receive/prj.conf index 860b2577a417..ae2ade708481 100644 --- a/samples/drivers/lora/receive/prj.conf +++ b/samples/drivers/lora/receive/prj.conf @@ -1,5 +1,3 @@ CONFIG_LOG=y -CONFIG_SPI=y -CONFIG_GPIO=y CONFIG_LORA=y CONFIG_PRINTK=y diff --git a/samples/drivers/lora/send/prj.conf b/samples/drivers/lora/send/prj.conf index 860b2577a417..ae2ade708481 100644 --- a/samples/drivers/lora/send/prj.conf +++ b/samples/drivers/lora/send/prj.conf @@ -1,5 +1,3 @@ CONFIG_LOG=y -CONFIG_SPI=y -CONFIG_GPIO=y CONFIG_LORA=y CONFIG_PRINTK=y diff --git a/samples/subsys/lorawan/class_a/prj.conf b/samples/subsys/lorawan/class_a/prj.conf index bcf81e187590..5421cfcc83cd 100644 --- a/samples/subsys/lorawan/class_a/prj.conf +++ b/samples/subsys/lorawan/class_a/prj.conf @@ -1,6 +1,4 @@ CONFIG_LOG=y -CONFIG_SPI=y -CONFIG_GPIO=y CONFIG_LORA=y CONFIG_LORAWAN=y CONFIG_LORAMAC_REGION_IN865=y diff --git a/samples/subsys/lorawan/fuota/prj.conf b/samples/subsys/lorawan/fuota/prj.conf index 884fa8da183a..4e606e18b98b 100644 --- a/samples/subsys/lorawan/fuota/prj.conf +++ b/samples/subsys/lorawan/fuota/prj.conf @@ -4,10 +4,8 @@ CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE=2048 CONFIG_THREAD_NAME=y CONFIG_LOG=y -# LoRa PHY and required peripherals +# LoRa PHY CONFIG_LORA=y -CONFIG_SPI=y -CONFIG_GPIO=y # NVS required to store LoRaWAN DevNonce CONFIG_NVS=y diff --git a/tests/drivers/build_all/lora/prj.conf b/tests/drivers/build_all/lora/prj.conf index 615529cc79d8..009bb814ae8c 100644 --- a/tests/drivers/build_all/lora/prj.conf +++ b/tests/drivers/build_all/lora/prj.conf @@ -1,3 +1,2 @@ CONFIG_TEST=y -CONFIG_GPIO=y CONFIG_LORA=y diff --git a/tests/subsys/lorawan/channels_mask/prj.conf b/tests/subsys/lorawan/channels_mask/prj.conf index 8b45467c4109..52ac900a809b 100644 --- a/tests/subsys/lorawan/channels_mask/prj.conf +++ b/tests/subsys/lorawan/channels_mask/prj.conf @@ -1,8 +1,6 @@ # SPDX-License-Identifier: Apache-2.0 CONFIG_ZTEST=y CONFIG_ASSERT=y -CONFIG_SPI=y -CONFIG_GPIO=y CONFIG_LORA=y CONFIG_LORAWAN=y CONFIG_LORAMAC_REGION_AS923=y diff --git a/tests/subsys/lorawan/clock_sync/prj.conf b/tests/subsys/lorawan/clock_sync/prj.conf index 966bfa8225b4..c1e44024348e 100644 --- a/tests/subsys/lorawan/clock_sync/prj.conf +++ b/tests/subsys/lorawan/clock_sync/prj.conf @@ -8,10 +8,8 @@ CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE=2048 CONFIG_THREAD_NAME=y CONFIG_LOG=y -# LoRa PHY and required peripherals +# LoRa PHY CONFIG_LORA=y -CONFIG_SPI=y -CONFIG_GPIO=y # Random number generator required for several LoRaWAN services CONFIG_ENTROPY_GENERATOR=y diff --git a/tests/subsys/lorawan/frag_decoder/prj.conf b/tests/subsys/lorawan/frag_decoder/prj.conf index 50141338caf5..b355ebd006fc 100644 --- a/tests/subsys/lorawan/frag_decoder/prj.conf +++ b/tests/subsys/lorawan/frag_decoder/prj.conf @@ -8,10 +8,8 @@ CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE=2048 CONFIG_THREAD_NAME=y CONFIG_LOG=y -# LoRa PHY and required peripherals +# LoRa PHY CONFIG_LORA=y -CONFIG_SPI=y -CONFIG_GPIO=y # Random number generator required for several LoRaWAN services CONFIG_ENTROPY_GENERATOR=y diff --git a/tests/subsys/mgmt/mcumgr/transport_lorawan/prj.conf b/tests/subsys/mgmt/mcumgr/transport_lorawan/prj.conf index a69e123c7406..7cd639239601 100644 --- a/tests/subsys/mgmt/mcumgr/transport_lorawan/prj.conf +++ b/tests/subsys/mgmt/mcumgr/transport_lorawan/prj.conf @@ -8,7 +8,6 @@ CONFIG_ZTEST=y CONFIG_NET_BUF=y CONFIG_ZCBOR=y CONFIG_MCUMGR=y -CONFIG_SPI=y CONFIG_LORA=y CONFIG_LORAWAN=y CONFIG_LORAMAC_REGION_EU868=y