Skip to content

Commit 3ef2c66

Browse files
maxd-nordicaescolar
authored andcommitted
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 <[email protected]> Signed-off-by: Johann Fischer <[email protected]>
1 parent f5ccc3c commit 3ef2c66

File tree

4 files changed

+357
-152
lines changed

4 files changed

+357
-152
lines changed

drivers/dp/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ config SWDP_BITBANG_DRIVER
2424
bool "Serial Wire Debug Port bit-bang driver"
2525
default y
2626
depends on DT_HAS_ZEPHYR_SWDP_GPIO_ENABLED
27+
depends on GPIO
2728
help
2829
Serial Wire Debug Port bit-bang driver.
2930

0 commit comments

Comments
 (0)