I was trying the sercom USART on samd21g18 with ASFWizard in atmel studio 7. The point is that when I try to build the solution it gave me this error:
Severity Code Description Project File Line
Error sercom_interrupt.h: No such file or directory
The sercom_interrupt.h is included by default in the asf.h when you add the sercom-uart module, but I couldn't find it in my installation of atmel studio 7. Is it a known bug? Do I have to manually download and compile sercom_interrupt.c and the relative header?
Thank you for the answer. Bye.
edit. Uninstalling and then reinstalling Atmel Studio 7 did the trick, now it doesn't include sercom_interrupt.h and everything works fine, thanks for your support