Add RAK4631 support for rs232 bridge

This commit is contained in:
João Brázio 2025-11-25 11:53:21 +00:00
parent 5f06dc4a2f
commit eafbd85d17
No known key found for this signature in database
GPG key ID: 56A1490716A324DD
2 changed files with 46 additions and 0 deletions

View file

@ -15,6 +15,8 @@ void RS232Bridge::begin() {
#if defined(ESP32)
((HardwareSerial *)_serial)->setPins(WITH_RS232_BRIDGE_RX, WITH_RS232_BRIDGE_TX);
#elif defined(RAK_4631)
((Uart *)_serial)->setPins(WITH_RS232_BRIDGE_RX, WITH_RS232_BRIDGE_TX);
#elif defined(NRF52_PLATFORM)
((HardwareSerial *)_serial)->setPins(WITH_RS232_BRIDGE_RX, WITH_RS232_BRIDGE_TX);
#elif defined(RP2040_PLATFORM)