Skip to content

Conversation

@maxd-nordic
Copy link
Contributor

pull upstream fixes for cmsis-dap library

to be used in connectivity bridge

This patch changes GPIO initialization
to be in PORT_OFF state by default.
Also, if no transceiver is attached to the signals,
the GPIOs are configured to be disconnected to preserve power.

I tested this on a prototype board where we are going to have
a debugger in a low-power context.

Signed-off-by: Maximilian Deubel <[email protected]>
(cherry picked from commit b0936ae)
Since CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC is tied to the slow RTC clock
for the nRF53, use the default SYSCLK of 64MHz instead.

Signed-off-by: Maximilian Deubel <[email protected]>
(cherry picked from commit 621a600)
This patch updates the SWD clock calculation to the latest behavior
of DAPLink.

Signed-off-by: Maximilian Deubel <[email protected]>
(cherry picked from commit fd686a2)
The variable config in sw_port_off() is not used, and it's
causing CI build error about unused variable. So remove it.

Signed-off-by: Daniel Leung <[email protected]>
(cherry picked from commit 1ec5ce0)
@rlubos rlubos merged commit d02b0d9 into nrfconnect:main Oct 21, 2024
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants