Author Topic: STK500  (Read 1977 times)

0 Members and 1 Guest are viewing this topic.

Offline bakilTopic starter

  • Jr. Member
  • **
  • Posts: 20
  • Helpful? 0
STK500
« on: June 15, 2007, 04:17:22 PM »
hy i recently got a STK500 kit and i then i tried to compile my c code (from tutorial) with avrstudio (gcc or something that makes c files standard) and then i just got stuck how would this come

(or just give me an other c compiler that works)

Offline rgcustodio

  • Robot Overlord
  • ****
  • Posts: 217
  • Helpful? 0
  • Use "Search" and ye might find answers!
Re: STK500
« Reply #1 on: June 15, 2007, 04:49:25 PM »
What errors did you get?

I'm not sure if AVRStudio includes a compiler by default. You might need to install WinAVR (it is a gcc derivative, http://winavr.sourceforge.net/) then set AVRStudio to use WinAVR. WinAVR integrates very well with AVRStudio.

The best thing one can do when it's raining is to let it rain. - H. W. Longfellow

understanding is the path to enlightenment

Offline bakilTopic starter

  • Jr. Member
  • **
  • Posts: 20
  • Helpful? 0
Re: STK500
« Reply #2 on: June 16, 2007, 02:05:18 AM »
ok how do u set avr studio to use winavr

Offline rgcustodio

  • Robot Overlord
  • ****
  • Posts: 217
  • Helpful? 0
  • Use "Search" and ye might find answers!
Re: STK500
« Reply #3 on: June 16, 2007, 08:49:23 AM »
You mush have both AVRStudio and WinAVR installed.

Create a new project, Project -> Project Wizard, on the next window click on "New Project", then on the next window click "AVR GCC" under the Project type. This tells AVRStudio that your project uses a C compiler.

If you are already working on a project file (ie it was previously created) get the project's Project Options (Project -> Configuration Options). Goto "Custom Options" check on the "Use WinAVR" check box in External Tools if its not checked.

Hope this helps you out a bit.
The best thing one can do when it's raining is to let it rain. - H. W. Longfellow

understanding is the path to enlightenment

Offline Admin

  • Administrator
  • Supreme Robot
  • *****
  • Posts: 11,663
  • Helpful? 169
    • Society of Robots
Re: STK500
« Reply #4 on: June 16, 2007, 05:28:18 PM »

 


Get Your Ad Here

data_list