I have had SAMD21 Xplained pro demo for a few years and I finally decided to give it a try. So far I have been using AVR8, mainly Xmega lately. I prefer to work outside Atmel Studio, so with my own Makefile and editing files with Emacs using GCC toolchain, the one that came with Atmel Studio.
So I'm trying to make my first led toggling program in C, but can't really get started. What needs to be included? Where do I get the io definitions? With a quick search I didn't find any example codes. What changes are needed to the Makefile, except the paths?