I encounter a difficulty with the ESP32 real time in FC9.
I make a simple program to generate a 1 khz signal on the GPIO1

Every 5sec and during 40ms the signal is interrupted



I tried the same program with using interrupt on timer 0, 1 or 2 , the problem is same.
I tried the same code in IDE Arduino :

I have no interrupt of the 1 Khz signal
Is this problem due to FreeRTOS? And how to disable it?
Thank you for your help
Best regards