Control PWM in MCUboot

To output PWM signal as early as possible after powering on the NRF5340DK, I added the same code in mcuboot/boot/zephy/main.c and mcuboot.overlay as in the app core. This allows the bootloader to generate the PWM signal during its execution. However, when the net core initializes, the PWM signal is interrupted and does not resume until the app core is ready. How can I avoid this problem? 

Thank u for reading.

Related