Change The UART pins


I want to interchange the UART pin numbers. I’m using esp32 for programming… but I’m not able to find anything like software serial… It’s possible with other Softwares but I want to do it with mongoose OS.
I want to change Rx: 16 to 17 and Tx: 17 to 16



Here are the defaults


What if I try to change those defaults??
It won’t crash my ESP right??