simplified (Teensy 2.0 only) WinAVR for MinGW/Msys under Windows

Status
Not open for further replies.

speaker

Member
Hi,

I have recently started to code for the Teensy 2.0 board. My project is to write a real-time control program for a certain scientific instrument. I have been using the MinGW/Msys development system under Windows for different software projects, so I also wanted to use the AVR compiler suit within the same framework.

I installed the package WinAVR and noticed that it takes more than 260 MB disk space. There is a lot of extra stuff that is not needed if you code exclusively for the Teensy 2.0 board (as I will). So I simplified the system by removing everything except what is necessary for building Teensy 2.0 compatible HEX files from source code. The resulting package takes only 74 MB of disk space and is very easy to integrate into the MinGW/Msys framework.

The package (called 'avr-t2') can be found here:

http://intron-trans.hu/avr-t2.zip

It contains everything you need for creating HEX files for the Teensy 2.0. I also included instructions about how to integrate the stuff into MinGW/Msys, as well as a simplified Makefile template to be used in your projects.

I hope that some people will find this package useful. If you check it out and find some problems please, let me know.

Regards,

Speaker
 
another option is Atmel Studio 6 ... It's Microsoft Visual Studio with Atmel add-ons. It's free. (It's not the Studio Express version).
Also, there's Visual Micro, a plugin for the above, is free; it's terrific. It also enables Teensy 3 as well as Teensy 2 targets.
http://www.visualmicro.com/
 
another option is Atmel Studio 6 ... It's Microsoft Visual Studio with Atmel add-ons. It's free. (It's not the Studio Express version).
Also, there's Visual Micro, a plugin for the above, is free; it's terrific. It also enables Teensy 3 as well as Teensy 2 targets.
http://www.visualmicro.com/

Thanks for the tip. For a beginner like me every bit of info is useful. The only thing is that I have used (tried to use) MS Visual Studio but I found it too complicated, full of useless 'features'. Everything is automated of course, but that means that you loose fine control over the build process. You never know what is exactly going on. I much prefer a command line approach using plain Makefiles, with a lean-and-mean IDE like Geany. Maybe I am old fashioned. :(
 
Visual Studio, Eclipse, et al. Once you learn one of them, the others are similar.
The Visual Micro add-in helps simplify. And the demo videos of Visual Micro. Well worth a day or two of learning to get a tool that very substantially improves your ease of developing. Kind of like any other craft - a bit of investment to learn how to use a tool that in hindsight, is "how did I ever live without that!"
 
Status
Not open for further replies.
Back
Top