How to set UART2_RTS to gpio

按照寄存器手册,uart2_rts引脚默认的复用是uart,我相要将它复用成gpio g2,但是设置PINMUX_AUX_UART2_RTS_0寄存器,寄存器的值不会变,请问有什么办法吗

There is no update from you for a period, assuming this is not an issue any more.
Hence we are closing this topic. If need further support, please open a new one.

What is your method to change the pinmux setting?