After looking a bit deeper into the code it turns out that OpenOCD already automatically switches to SWD on startup if it is the selected transport, so this can be disregarded.
Bryn Hakl
After looking a bit deeper into the code it turns out that OpenOCD already automatically switches to SWD on startup if it is the selected transport, so this can be disregarded.
Bryn Hakl