Skip to content

Commit

Permalink
Simplify lora overlay
Browse files Browse the repository at this point in the history
Signed-off-by: Krzysztof Taborowski <[email protected]>
  • Loading branch information
ktaborowski committed Aug 17, 2022
1 parent b8eee1d commit c4dfaf9
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 3 deletions.
1 change: 1 addition & 0 deletions Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ menuconfig SIDEWALK
imply SIDEWALK_CRITICAL_REGION
imply SIDEWALK_ACE_OSAL_ZEPHYR
imply SIDEWALK_GPIO
imply SIDEWALK_SPI_BUS
imply SIDEWALK_SW_INTERRUPTS
imply SIDEWALK_TEMPERATURE
imply SIDEWALK_DELAY
Expand Down
11 changes: 11 additions & 0 deletions samples/template/Kconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#
# Copyright (c) 2022 Nordic Semiconductor ASA
#
# SPDX-License-Identifier: LicenseRef-Nordic-4-Clause
#

config SYSTEM_WORKQUEUE_STACK_SIZE
int
default 4096 if SIDEWALK_LINK_MASK_LORA || SIDEWALK_LINK_MASK_FSK

source "Kconfig.zephyr"
3 changes: 0 additions & 3 deletions samples/template/lora.conf
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,3 @@
#

CONFIG_SIDEWALK_LINK_MASK_LORA=y
CONFIG_SIDEWALK_SPI_BUS=y
CONFIG_SIDEWALK_THREAD_STACK_SIZE=10240
CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE=4098
1 change: 1 addition & 0 deletions tests/functional/time/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
#
CONFIG_UNITY=y
CONFIG_SIDEWALK=y
CONFIG_SIDEWALK_SPI_BUS=n

CONFIG_MAIN_THREAD_PRIORITY=14

Expand Down
1 change: 1 addition & 0 deletions tests/manual/ble/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
# Sidewalk
CONFIG_SIDEWALK=y
CONFIG_SIDEWALK_LOG_LEVEL_DBG=y
CONFIG_SIDEWALK_SPI_BUS=n

# Debug
CONFIG_RESET_ON_FATAL_ERROR=n
1 change: 1 addition & 0 deletions tests/manual/log/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
# Sidewalk
CONFIG_SIDEWALK=y
CONFIG_SIDEWALK_LOG_LEVEL_DBG=y
CONFIG_SIDEWALK_SPI_BUS=n

# Logging
CONFIG_LOG=y
Expand Down

0 comments on commit c4dfaf9

Please sign in to comment.