I play a lot with SAMD21 based boards (Arduino Zero/M0, Sparkfun SAMD21 dev breakout board, Adafruit Feather M0) and got tired of always doing same initial steps when creating a new project. So, I created a package which provides project templates for Adafruit Feather M0.
You can get it from http://tkoskine.me/rowley/feather/1.0/Adafruit_Feather_M0_Basic.hzq
If you want to build the .hzq file from scratch, you can get the template project from https://bitbucket.org/tkoskine/adafruit-feather-m0-basic-template and my samd2x peripheral library from https://bitbucket.org/tkoskine/samd2x-peripheral-library
The peripheral library (i2c, uart, spi, adc, gpio, eic, etc.) is included in the .hzq package and you can use it via Rowley's platform library API. (The CTL project template configures everything - you just need to build the project and add your own stuff.)
My code is distributed under open source ISC license (similar to BSD/MIT) and you can use the code freely for any purpose. Of course, as a reminder, this is something what I have done on my spare free time as a hobby, so the code might not be "production ready" as-is.
Disclaimer: The package works for me, but in the worst case it might break your host system or target system. You use it on your own risk.
Tero Koskinen (firstname.lastname@example.org)
Please sign in to leave a comment.