2
\$\begingroup\$

I'm trying to choose an IDE for arduino development. I installed both Eclipse and AVR Studio 5. And configured them using the instruction on the Arduino site (for Eclipse) and those two tutorials (AVR Freaks, EngBlaze) for the AVR Studio.

I've written a simple project in Eclipse. The code compiles and work as expected when uploaded to the Arduino (Atmega2560). I then used the same code and created an AVR Studio project.

On AVR Studio my code compiles just fine (so it seems) but when I upload it to the board (using the same avrdude configuration) the board only flashes the L led (pin 13) at a what seems like 1 second rate.

Ideas anyone?

asked Jan 24, 2012 at 13:53
\$\endgroup\$
1
  • \$\begingroup\$ Sometimes IDEs have settings in them that change the fuses (what tells the chip the speed to run at among other things) regardless of what your code tells it to be. I have never used an arduino, but my guess is on that. I'll let someone who knows more answer though. \$\endgroup\$ Commented Jan 24, 2012 at 14:19

1 Answer 1

-4
\$\begingroup\$

AVR Studio uses the atmel compiler (IAR). What compiler does Eclipse use (I'm guessing gcc). There are differences in the extensions and in the standard libraries for different compilers.

Justin
6,08423 silver badges34 bronze badges
answered May 23, 2012 at 13:04
\$\endgroup\$
1
  • 4
    \$\begingroup\$ Um, no. AVR Studio uses avr-gcc. IAR has compiler which is compatible with AVR processors, but it's not integrated with AVR Studio. \$\endgroup\$ Commented May 23, 2012 at 13:39

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.