keyboardio / KeyboardioHID

A HID library for Arduino
MIT License
34 stars 17 forks source link

Finalised SAMD port #58

Closed algernon closed 4 years ago

algernon commented 4 years ago

Turns out that my previous attempts at a SAMD port weren't enough, and there are a number of things left to fix up. This patchset "fixes" the host wakeup code (previously it compiled, but failed to link), and updates a few places that need special handling on SAMD.

The host wakeup code compiles and links, but doesn't work yet. I left the attempt in regardless, because it's a pointer to where we should look when debugging it further.

Tested the updates on both AVR and SAMD, and everything appears to function correctly, apart from the wakeup on SAMD.

algernon commented 4 years ago

Update:

I'll clean things up and test wakeup, then push an update.

algernon commented 4 years ago

Wakeup doesn't seem to work on SAMD, will have to re-test with AVR too, just in case.