Implement the changes of https://github.com/arduino/ArduinoCore-samd/pull/163 within this repository.