Change The UART pins

#1

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

#2

Example

Here are the defaults

#3

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