ArduinoCore-samd icon indicating copy to clipboard operation
ArduinoCore-samd copied to clipboard

Conflicting IRQ handler betwwen Serial and Wire when used in Slave Mode

Open disk91 opened this issue 3 years ago • 0 comments

When the Wio Terminal is configured as a slave mode, there is a conflicting definition of the IRQ handler: In variant.h WIRE_IT_HANDLER is defined as SERCOM4 handler whatever the ROLE is. This is used by Wire.cpp included library

In variant.c Depends on ROLE, SERCOM4 is also defined and associated to Serial port1

As a consequence, you can't compile with Wire included when in slave mode.

disk91 avatar Sep 22 '21 19:09 disk91