Skip to content

Commit e28c31f

Browse files
Merge pull request rogerclarkmelbourne#419 from stevstrong/patch-10
Update wirish_debug.cpp - to ONLY reserve SWD pa13 & pa14 SWD, rather than all JTAG debug pins, which also include PB3 and PB4
2 parents aa15a38 + bd79917 commit e28c31f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: STM32F1/cores/maple/stm32f1/wirish_debug.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,5 +37,5 @@ void disableDebugPorts(void) {
3737
}
3838

3939
void enableDebugPorts(void) {
40-
afio_cfg_debug_ports(AFIO_DEBUG_FULL_SWJ);
40+
afio_cfg_debug_ports(AFIO_DEBUG_SW_ONLY);
4141
}

0 commit comments

Comments
 (0)