* reading the UART peripheral registers disturbs gdbstub because it communicates via UART. Hence, we protect it. Closes IDF-2533
Closes IDF-1757 Closes IDF-2489