Category
Serial
Hardware
Other
Is this bug report about any UI component firmware like InkHUD or Meshtatic UI (MUI)?
Firmware Version
2.7.16.5d7da6868e02521dc32d9df69c140abd2cdfd030
Description
In submission #8486, the GPS serial port pins of the new nrf module were repositioned.The code itself is fine, but it might not work for existing NRF systems because their serial port TX and RX are swapped. Perhaps a way to unify them is needed?
_serial_gps->setPins(new_gps->rx_gpio, new_gps->tx_gpio);
The definition of some boards is as follows.
#define GPS_TX_PIN PIN_SERIAL1_RX // This is for bits going TOWARDS the CPU
#define GPS_RX_PIN PIN_SERIAL1_TX // This is for bits going TOWARDS the GPS
Other boards, however, are the opposite.Other boards, however, are the opposite.
#define GPS_RX_PIN PIN_SERIAL1_RX
#define GPS_TX_PIN PIN_SERIAL1_TX
Relevant log output
Category
Serial
Hardware
Other
Is this bug report about any UI component firmware like InkHUD or Meshtatic UI (MUI)?
Firmware Version
2.7.16.5d7da6868e02521dc32d9df69c140abd2cdfd030
Description
In submission #8486, the GPS serial port pins of the new nrf module were repositioned.The code itself is fine, but it might not work for existing NRF systems because their serial port TX and RX are swapped. Perhaps a way to unify them is needed?
The definition of some boards is as follows.
Other boards, however, are the opposite.Other boards, however, are the opposite.
Relevant log output