I recently Installed Atmel Studio on a new Laptop ( Version 7.0.1417 ) . On my Desktop I use Atmel Studio Version 7.0.943.
If I copy my project from my desktop (which Builds successfully on my Desktop) to the new laptop, I get Multiple Compilation Errors.
My Project Use ASF 3.28.1 on the desktop and if I check on my laptop under ASF Wizard, It is also ASF 3.28.1
Most of the compilation errors seems to be part of the ASF.
Below is some of the Errors on the new Laptop
Error recipe for target 'src/asf/xmega/services/pwm/pwm.o' failed
Error 'PWM_CLK_DIV1' undeclared (first use in this function)
Error 'PWM_CLK_DIV2' undeclared (first use in this function)
Error 'PWM_CLK_DIV4' undeclared (first use in this function)
Error 'TC_CCDEN' undeclared (first use in this function)
Build Output ( 1 of the errors)
C:\source\protectoultima\PepperMiniX18\src\asf\xmega\services\pwm\pwm.c(73,21): info: each undeclared identifier is reported only once for each function it appears in
C:\source\protectoultima\PepperMiniX18\src\asf\xmega\services\pwm\pwm.c(76,21): error: 'PWM_CLK_DIV2' undeclared (first use in this function)
config->clk_sel = PWM_CLK_DIV2;
Could it be that somewhere I have a reference to the wrong ASF on my new installation? Or do I Have a Missing component in Atmel Studio.
I've been pulling my hair out the last 10 hours to try and find a solution ( And it is probably something small I am overlooking)
Even the location of my project is exactly the same as on my Laptop.
Any help would be appreciated..