openOCD remote?
OpenOCD can use a raspberry Pi’s IO pins for JTAG debugging, and this can be accessed using GDB’s remote debug.
Would this work with STM32? Can I connect STM32 to a remote openOCD session using any openOCD hardware?
(This is a very compact way to achieve remote debugging over ethernet)