Skip to main content

release_swd_pins

Function release_swd_pins 

Source
pub fn release_swd_pins()
Expand description

Give the debug-interface pins back to GPIO (AFIO.PCFR1.SW_CFG = 0b100).

The debugger can only reattach after resetting into the system bootloader.