Hi there,
I'm just coming from the Arduino IDE to Atmel Studio 7.
Looks great, with great capabilities (inkl. debugging via atmel ice)... But I'm a bit lost. Hopefully someone can give me a hint or a link to a tutorial. Here's my problem:
I have a working arduino sketch that makes use of default Arduino libs (like EEPROM.h) as well as an own Arduino Lib.
The sketch compiles and runs fine with Arduino IDE. I installed Atmel Studio 7.0.790, created a new Arduino project, set the path to my sketch + to my Arduino IDE 1.6.9, clicked OK and AS imported the project.
Looks good so far, but if I hit F7 to compile, the IDE complains about missing libraries (like EEPROM.h).
If I have a look at the "Solution Explorer", I can only see my sketch + the arduino core stuff. But no arduino default libs, and no other libs the sketch uses.
Question #1:
Is this an expected behavior? What sense does it make to import an sketch if nothing dependant is added/linked?!
Question #2:
If this is NOT an expected behavior: What am I doing wrong?
Question #3:
If this behavior is really expected: How can I add the required libs? I searched the net, but did not find any explanation on how to add arduino libs to such an imported arduino project. Would be great if you can give me a hint or a link about this.
Sidenote:
I thought "mybe an update of AS will impriove the situation"... Nope... it did not. I upgraded to AS7.0.1006 with the result, that my sketch cannot be imported anymore. AS is giving me an error "not enough arguments for format string" without any further detail which format string... So I deinstalled the version and went back to 7.0.790
best regards,
Alex