How to write programs for a custom SAMD21 board using Arduino IDE

@MartinL, Are you a lifesaver or what :wink:
Thanks a lot. The new boards.txt and linker script did the trick. Big big thanks.

Just for anyone else running into same problem, be sure to go through the discussion from beginning.