zephyr/drivers/dp/Kconfig
Maximilian Deubel 3ef2c66a8a driver: swdp_bitbang: rework pin configurations
Move low-level GPIO functions to a separate file and use GPIO driver
API if low-level GPIO support is not available for the platform.
Allows alternative pin configuration using only two pins, clk and dio.
Improve binding description.

Signed-off-by: Maximilian Deubel <maximilian.deubel@nordicsemi.no>
Signed-off-by: Johann Fischer <johann.fischer@nordicsemi.no>
2024-06-14 11:14:17 +02:00

31 lines
682 B
Text

# Copyright (c) 2019 Phytec Messtechnik GmbH
#
# SPDX-License-Identifier: Apache-2.0
menuconfig DP_DRIVER
bool "Debug Port interface driver [EXPERIMENTAL]"
select EXPERIMENTAL
help
Enable Debug Port interface driver
if DP_DRIVER
module = DP_DRIVER
module-str = dp drv
source "subsys/logging/Kconfig.template.log_config"
config DP_DRIVER_INIT_PRIO
int "Debug Port driver initialization priority"
default 80
help
Set the initialization priority number.
config SWDP_BITBANG_DRIVER
bool "Serial Wire Debug Port bit-bang driver"
default y
depends on DT_HAS_ZEPHYR_SWDP_GPIO_ENABLED
depends on GPIO
help
Serial Wire Debug Port bit-bang driver.
endif # DP_DRIVER