Closed SRGDamia1 closed 2 months ago
The enum for the UART Tx pad is only correct for a 21 device:
https://github.com/adafruit/ArduinoCore-samd/blob/ce20340620bfd9c545649ee5c4873888ee0475d0/cores/arduino/SERCOM.h#L92-L91
From the manual for the 51, only PAD0 is available for Tx and the other pins have different meaning depending on the value:
it is a shared enum and is fine as long as samd51 does not use that. Or maybe I miss something, can you elaborate what should be changed.
The enum for the UART Tx pad is only correct for a 21 device:
https://github.com/adafruit/ArduinoCore-samd/blob/ce20340620bfd9c545649ee5c4873888ee0475d0/cores/arduino/SERCOM.h#L92-L91
From the manual for the 51, only PAD0 is available for Tx and the other pins have different meaning depending on the value: