Hi!Thank you neil for your advice!I got rid off the "no previous declaration" errors! But.... Now i am facing 58 errors like: undefined reference to 'GetTickCount' in wiring.c, undefined ref. to 'PIO_GetOutputDataStatus' in digital_wiring.c...and so on.I only include Arduino.h like in the temporary compiled cpp from the arduino sdk.Please help me out! This is so demotivating! I really don't know what i am doing wrong!This was so easy with Uno...i did it many times without these strange probs....i am looking forward to loading the code up from atmel-studio... =(Can't somebody post a compiling example-atmel-solution?That would be great!
I found this as well and posted my fixhttp://arduino.cc/forum/index.php/topic,134907.msg1144567.html#msg1144567The fix seems to be change AS6 to be the sames as the arduino-1.5.1r2 inC:\Program Files\Atmel\Atmel Studio 6.0\extensions\Atmel\ARMGCC\126.96.36.199\ARMSupportFiles\Device\ATMEL\sam.h/* Entire SAM3XA series */#define SAM3XA_SERIES (SAM3X4 || SAM3X8 || SAM3A4 || SAM3A8)from #define SAM3XA_SERIES (SAM3A4 || SAM3A8)I got it from \My Documents\Arduino\arduino-1.5.1r2\hardware\arduino\sam\system\CMSIS\Device\ATMEL\sam.h/* Entire SAM3XA series */#define SAM3XA_SERIES ( SAM3X4 || SAM3X8 || SAM3A4 || SAM3A8)