Browse Source
Add a new driver class for drivers related to debugging, such as trace hardware, performance counters etc. Signed-off-by: Aksel Skauge Mellbye <aksel.mellbye@silabs.com>pull/88487/merge
5 changed files with 45 additions and 0 deletions
@ -0,0 +1,7 @@ |
|||||||
|
# Copyright (c) 2025 Silicon Laboratories Inc. |
||||||
|
# SPDX-License-Identifier: Apache-2.0 |
||||||
|
|
||||||
|
zephyr_library() |
||||||
|
|
||||||
|
# zephyr-keep-sorted-start |
||||||
|
# zephyr-keep-sorted-stop |
@ -0,0 +1,24 @@ |
|||||||
|
# Copyright (c) 2025 Silicon Laboratories Inc. |
||||||
|
# SPDX-License-Identifier: Apache-2.0 |
||||||
|
|
||||||
|
menuconfig DEBUG_DRIVER |
||||||
|
bool "Debug drivers" |
||||||
|
help |
||||||
|
Enable support for debug drivers |
||||||
|
|
||||||
|
if DEBUG_DRIVER |
||||||
|
|
||||||
|
config DEBUG_DRIVER_INIT_PRIORITY |
||||||
|
int "Initialization priority" |
||||||
|
default KERNEL_INIT_PRIORITY_DEVICE |
||||||
|
help |
||||||
|
Debug drivers initialization priority. |
||||||
|
|
||||||
|
# zephyr-keep-sorted-start |
||||||
|
# zephyr-keep-sorted-stop |
||||||
|
|
||||||
|
module = DEBUG_DRIVER |
||||||
|
module-str = debug_driver |
||||||
|
source "subsys/logging/Kconfig.template.log_config" |
||||||
|
|
||||||
|
endif |
Loading…
Reference in new issue