Adding support for Arduino MKR family (SAMD architecture)#70
Adding support for Arduino MKR family (SAMD architecture)#70simon-77 wants to merge 8 commits intoPaulStoffregen:masterfrom
Conversation
|
Is this ready to be merged? Or still adding more commits? |
|
This is ready to be merged, thank you for asking. The first 4 commits where the "minimal" changes I made to the original code while adding compatibility for the MKR family. I then added (with 2 additional) commits the ability to configure RX & TX pins via constructor for the MKR family, for which I have introduced 2 new static variables, which are default-initialized to the defines which are in use for the AVR microcontrollers, to keep everything compatible. Two more notes:
Cheers Simon |
…lib does use an PinMode enum.
…onally to interrupt-flag
I have added support for SAMD architecture type boards (Arduino MKR)
#defines).This modified code should behave the same on AVR boards as previously & add support for all SAMD architecutre micro controller boards.
When this pull request is merged, it would be great to also modify the compatibility in the Arduino Library manager to include the SAMD architecture / MKR family boards.
Best wishes,
Simon