Skip to content

Commit

Permalink
samples, tests: lora: remove CONFIG_SPI|GPIO=y
Browse files Browse the repository at this point in the history
This is no longer needed, drivers selects SPI and GPIO as needed.

Signed-off-by: Gerard Marull-Paretas <[email protected]>
  • Loading branch information
gmarull authored and kartben committed Nov 28, 2024
1 parent 55cdc5a commit 9465610
Show file tree
Hide file tree
Showing 9 changed files with 3 additions and 19 deletions.
2 changes: 0 additions & 2 deletions samples/drivers/lora/receive/prj.conf
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
CONFIG_LOG=y
CONFIG_SPI=y
CONFIG_GPIO=y
CONFIG_LORA=y
CONFIG_PRINTK=y
2 changes: 0 additions & 2 deletions samples/drivers/lora/send/prj.conf
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
CONFIG_LOG=y
CONFIG_SPI=y
CONFIG_GPIO=y
CONFIG_LORA=y
CONFIG_PRINTK=y
2 changes: 0 additions & 2 deletions samples/subsys/lorawan/class_a/prj.conf
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
CONFIG_LOG=y
CONFIG_SPI=y
CONFIG_GPIO=y
CONFIG_LORA=y
CONFIG_LORAWAN=y
CONFIG_LORAMAC_REGION_IN865=y
Expand Down
4 changes: 1 addition & 3 deletions samples/subsys/lorawan/fuota/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 0 additions & 1 deletion tests/drivers/build_all/lora/prj.conf
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
CONFIG_TEST=y
CONFIG_GPIO=y
CONFIG_LORA=y
2 changes: 0 additions & 2 deletions tests/subsys/lorawan/channels_mask/prj.conf
Original file line number Diff line number Diff line change
@@ -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
Expand Down
4 changes: 1 addition & 3 deletions tests/subsys/lorawan/clock_sync/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 1 addition & 3 deletions tests/subsys/lorawan/frag_decoder/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 0 additions & 1 deletion tests/subsys/mgmt/mcumgr/transport_lorawan/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9465610

Please sign in to comment.