Maker Pro
Maker Pro

Integrate C compiler in ATMELs IDE

  • Thread starter Klaus C Nielsen (DK)
  • Start date
K

Klaus C Nielsen (DK)

Hej all.
I've got an Atmel STK500. Included is a complete IDE with easy interface
to an assembler.
I have not been playing with the assembler yet, because I want to go the
"C-way". Therefor I downloaded the WinAVR (a freeware C-compiler)
I would like to have the IDE control the compiler. That can be done but
I cannot see how I add a tool inside the AVR Studio (ver 4.11)

If I "Create new Project" I can choose a "Project Type" but only the
assembler is available. I would like to make the WinAVR visible here.

Can anybody give me some advice or point me to a place where I can get it?
Thanks in advance
 
K

Klaus C Nielsen (DK)

I forgot to underline that I also would like the code to be debugged
from the IDE...
 
J

JimW52

Klaus said:
Hej all.
I've got an Atmel STK500. Included is a complete IDE with easy interface
to an assembler.
I have not been playing with the assembler yet, because I want to go the
"C-way". Therefor I downloaded the WinAVR (a freeware C-compiler)
I would like to have the IDE control the compiler. That can be done but
I cannot see how I add a tool inside the AVR Studio (ver 4.11)

If I "Create new Project" I can choose a "Project Type" but only the
assembler is available. I would like to make the WinAVR visible here.

Can anybody give me some advice or point me to a place where I can get it?
Thanks in advance

Go to Atmels website and download AVR Studio 4.12. This version
automatically detects WinAvr.

HTH

Jim
 
K

Klaus C Nielsen (DK)

JimW52 said:
Go to Atmels website and download AVR Studio 4.12. This version
automatically detects WinAvr.

HTH

Jim
Smart! I'll do that right away.
Thanks.
 
K

Klaus C Nielsen (DK)

Klaus said:
Smart! I'll do that right away.
Thanks.
Very easy handling of the compiler - as seen so far.
Done! Smart! Thanks alot.
Klaus
 
K

Klaus C Nielsen (DK)

I suceeded in writing a LED toggling program in C, compiled it,
downloaded it in STK500 - and you know what?: The LED is flashing.
I can also simulate and trace the program in the IDE.
So far so good.
Is some sort of an ICE needed in order to debug in the target?
If so, how much is the cheapest solution then?
Best regards
Klaus
 
Top