I actually use Microchip Studio 7 to program a SAM3X8E (Arduino Due) with a J-Link JTAG and using ASF libraries.
I want to create a template, with principal usefull libraries from ASF (RTC, PWM, delay, ...).
I created such a project, and I used "export template" to create a template for future projects.
When I create a new project using this template, a new file main.c and a directory Device_Startup\ appear from nowhere and I must remove them manually to have a valid project.
Does anybody know how to avoid that ?