Can the library be ported to SAMD09?

Started by aroberts, May 01, 2017, 02:47:10 PM

aroberts

First of all, great forum; there's plenty to learn here--thanks.  I am intrigued by the newer SAMD09 devices.  They are easily placed, and inexpensive.  Is there any reason why the libraries couldn't be ported to those devices?  It would appear that I just need to have SPI communication and an interrupt available. Thanks for any help and insights.

Felix

I have not tried and I know others suggested I make a base generic class that is architecture independent. While I do see the value in that, I don't really have an objective in doing that because the library was written for arduino only, and especially targeting Moteinos.
Can it be ported? I am sure it can, but there are some things specific to arduino.
I know adafruit is using my library for their SAMD based feathers, they have some mods that need be included in every sketch, but the thing to keep in mind is they use the Arduino IDE as environment which sort of bridges the gap between ARM and the Arduino typical syntax/vocabulary of digital.read/write and stuff like that.
If you want to go pure ARM that's probably a lot more work.

aroberts

Thanks for your reply.  I thought that might the case, but it was worth a try.  I had purchased a few Feathers from Adafruit, then heard about the Moteinos (which led me here).  I am still learning about the Motino capabilities, and love that they are so stingy about power consumption.  Thanks again!