Patches to allow programming and debugging using a JLINK within the STM32CubeIDE environment.
Also firmware to turn STM32F103 into JLink-OB. However you will need to click on "No" every time you launch.
From memory, these are the pins used:
PA5 SWDCK
PA4 SWDIO
PA2 !RST (unneeded)
You may need to attach a 100ohm resistor from PA7 to PA4 for this to work.