modules: segger: move Kconfig to modules/segger
Move the Segger RTT module Kconfig to modules/segger/kconfig. The Segger debug library is not a driver and should not reside under drivers/debug. Signed-off-by: Henrik Brix Andersen <hebad@vestas.com>
This commit is contained in:
parent
b5caccb2ba
commit
1cfc85bab8
5 changed files with 8 additions and 7 deletions
|
@ -18,7 +18,6 @@ source "drivers/counter/Kconfig"
|
|||
source "drivers/crypto/Kconfig"
|
||||
source "drivers/dac/Kconfig"
|
||||
source "drivers/dai/Kconfig"
|
||||
source "drivers/debug/Kconfig"
|
||||
source "drivers/disk/Kconfig"
|
||||
source "drivers/display/Kconfig"
|
||||
source "drivers/dma/Kconfig"
|
||||
|
|
|
@ -1,4 +0,0 @@
|
|||
# Copyright (c) 2020 Intel Corporation
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
source "drivers/debug/Kconfig.rtt"
|
|
@ -99,6 +99,9 @@ comment "CHRE module not available."
|
|||
comment "THRIFT module not available."
|
||||
depends on !ZEPHYR_THRIFT_MODULE
|
||||
|
||||
comment "Segger module not available."
|
||||
depends on !ZEPHYR_SEGGER_MODULE
|
||||
|
||||
# This ensures that symbols are available in Kconfig for dependency checking
|
||||
# and referencing, while keeping the settings themselves unavailable when the
|
||||
# modules are not present in the workspace
|
||||
|
|
|
@ -1,6 +1,9 @@
|
|||
# Copyright (c) 2016 Nordic Semiconductor ASA
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
config ZEPHYR_SEGGER_MODULE
|
||||
bool
|
||||
|
||||
config HAS_SEGGER_RTT
|
||||
bool
|
||||
help
|
||||
|
@ -41,7 +44,7 @@ config SEGGER_RTT_PRINTF_BUFFER_SIZE
|
|||
int "Size of buffer for RTT printf to bulk-send chars via RTT"
|
||||
default 64
|
||||
|
||||
choice
|
||||
choice SEGGER_RTT_MODE
|
||||
prompt "Mode for pre-initialized terminal channel (buffer 0)"
|
||||
default SEGGER_RTT_MODE_NO_BLOCK_SKIP
|
||||
|
2
west.yml
2
west.yml
|
@ -209,7 +209,7 @@ manifest:
|
|||
path: modules/lib/picolibc
|
||||
revision: 93b5d5f2ad44867b60267417cd6d6250dbf68983
|
||||
- name: segger
|
||||
revision: e2ff2200556e8a8f962921444275c04971a2bb3d
|
||||
revision: 4bfaf28a11c3e5ec29badac744fab6d2f342749e
|
||||
path: modules/debug/segger
|
||||
groups:
|
||||
- debug
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue