Running Multiple Versions of Winavr

Go To Last Post
5 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Is there an easy way to run more than one version of Winavr?

I currently am working on a few different projects, each running a different version, so a nice simple way to run both would be useful until I can bring the older projects firmware up to date with the new set of tools.

If it's any easier, I do currently run Cygwin on my computer, so perhaps I can somehow automate the process with some environment variable tweaking scripts?

Any thoughts?

(sorry if this has been discussed before, if it has please point me in the way of the correct thread..)

Thanks,
oddbudman

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

1, Clean all Envronment sets of winavr.
2, Create Envronment sets in some separated BAT files.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Well, there *might* be a way.....

WinAVR includes the Cygwin DLL, and there are issues with running multiple copies of that. However, there are only a few programs that require the Cygwin DLL such as: GDB/Insight, avarice, simulavr, etc. GCC and Binutils do NOT require Cygwin. So installing and running those programs should be just fine. So really it all depends on which programs you'll need to run.

You will have to manage the PATH environment variable (through batch files) to point and switch to the correct installation of WinAVR.

Good luck!
Eric

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I use 3 different versions of WinAVR, and simply renames them.
I have WinAVR_3.3.1, WinAVR_3.4.1 and WinAVR_3.4.3 and simply rename the one I'm going to use, as WinAVR.
Simple. ;-)

/Jesper
http://www.yampp.com
The quick black AVR jumped over the lazy PIC.
What boots up, must come down.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Well I now just symlink as follows:

ln -s /c/WinAVR20040404 /c/WinAVR
or
ln -s /c/WinAVR20050214 /c/WinAVR

to swap between the two. Sure is easy :), thanks for the tip Jesper.

oddbudman