CommunityGD32Cores / ArduinoCore-GD32

Arduino core for GD32 devices, community developed, based on original GigaDevice's core
Other
92 stars 33 forks source link

Conflicting `Serial` definitions #41

Closed maxgerhardt closed 1 year ago

maxgerhardt commented 3 years ago

https://github.com/CommunityGD32Cores/ArduinoCore-GD32/blob/2616a45b0d8a46ae3735b2c86e0b87f9a03f50c4/cores/arduino/HardwareSerial.h#L138-L151

If a board enables both UART0 and UART1 there would be two Serial objects. Needs to be fixed.