Skip to content

Commit 81a4bd6

Browse files
samples: peripheral: enable SoftDevice as default
Enable SoftDevice as default for all peripheral samples. This is not strictly required to compile and run the sample, though it will reduce noise by removing a Kconfig compiler warning when building the samples for the S115 board variants. Might revisit later by adding board variants without SoftDevice. Signed-off-by: Eivind Jølsgard <[email protected]>
1 parent b77de3c commit 81a4bd6

File tree

5 files changed

+20
-0
lines changed

5 files changed

+20
-0
lines changed

samples/peripherals/buttons/prj.conf

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
CONFIG_LOG=y
22
CONFIG_LOG_BACKEND_BM_UARTE=y
33

4+
# Enabling SoftDevice is not strictly needed, though we are building with SoftDevice boards.
5+
CONFIG_SOFTDEVICE=y
6+
CONFIG_NRF_SDH=y
7+
48
CONFIG_BM_TIMER=y
59
CONFIG_BM_BUTTONS=y
610

samples/peripherals/leds/prj.conf

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
CONFIG_LOG=y
22
CONFIG_LOG_BACKEND_BM_UARTE=y
33

4+
# Enabling SoftDevice is not strictly needed, though we are building with SoftDevice boards.
5+
CONFIG_SOFTDEVICE=y
6+
CONFIG_NRF_SDH=y
7+
48
CONFIG_CLOCK_CONTROL=y

samples/peripherals/lpuarte/prj.conf

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ CONFIG_LOG_BACKEND_BM_UARTE=n
44
CONFIG_CONSOLE=n
55
CONFIG_BM_UARTE_CONSOLE=n
66

7+
# Enabling SoftDevice is not strictly needed, though we are building with SoftDevice boards.
8+
CONFIG_SOFTDEVICE=y
9+
CONFIG_NRF_SDH=y
10+
711
CONFIG_BM_TIMER=y
812
CONFIG_CLOCK_CONTROL=y
913
CONFIG_BM_SW_LPUARTE=y

samples/peripherals/timer/prj.conf

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
CONFIG_LOG=y
22
CONFIG_LOG_BACKEND_BM_UARTE=y
33

4+
# Enabling SoftDevice is not strictly needed, though we are building with SoftDevice boards.
5+
CONFIG_SOFTDEVICE=y
6+
CONFIG_NRF_SDH=y
7+
48
CONFIG_BM_TIMER=y
59
CONFIG_CLOCK_CONTROL=y

samples/peripherals/uarte/prj.conf

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
CONFIG_CONSOLE=y
22
CONFIG_BM_UARTE_CONSOLE=y
33

4+
# Enabling SoftDevice is not strictly needed, though we are building with SoftDevice boards.
5+
CONFIG_SOFTDEVICE=y
6+
CONFIG_NRF_SDH=y
7+
48
CONFIG_CLOCK_CONTROL=y
59

610
CONFIG_UARTE_HWFC=y

0 commit comments

Comments
 (0)