I am using STM32MP157F-EV1. I want to enable the CM4 SWO output on the SWO debug pin. Is there any code example or sequence to accomplish this? It is a bit more complicated since this is an MPU target and you have to select between the A7 and the M4.
I am currently running in Engineering mode. In this application I am not using Linux on the A7, so I want to enable the trace SWO output from the M4 processor.