Upload to Adafruit Feather M0 (SAMD21) does not work

I managed to cobble together a solution here: