add swap GPIO pins define, and config for M2 style Tx