#1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Aug 2012
    Posts
    13
    Rep Power
    0

    Tools for embedded C++


    Hi, I'm trying to explore programming microcontrollers, but I'm still an amateur in various aspects. I have windows XP and I've installed MinGW and set its PATH variable. I've installed WinAVR as well. Now I've come across another set of tools on launchpad as well - "GNU Tools for ARM Embedded Processors". My first question is, what exactly is the difference between WinAVR and GNUTAEP? I though WinAVR already provides all the tools necessary for compiling C++ code on ARM microcontrollers.
  2. #2
  3. Contributed User
    Devshed Specialist (4000 - 4499 posts)

    Join Date
    Jun 2005
    Posts
    4,388
    Rep Power
    1871
    One runs on windows (WinAVR) and one runs on Linux (GNUTAEP).

    Pick your OS, then pick your tool-chain.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper
  4. #3
  5. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Aug 2012
    Posts
    13
    Rep Power
    0
    Originally Posted by salem
    One runs on windows (WinAVR) and one runs on Linux (GNUTAEP).

    Pick your OS, then pick your tool-chain.
    but... there's a win32 download on the website, to the right. What's that all about?
  6. #4
  7. Contributing User
    Devshed Supreme Being (6500+ posts)

    Join Date
    Jan 2003
    Location
    USA
    Posts
    7,163
    Rep Power
    2222
    Originally Posted by st_crab
    but... there's a win32 download on the website, to the right. What's that all about?
    Without even looking at it, a number of UNIX/Linux tools and tool-chains have been ported to Windows.
  8. #5
  9. Contributing User

    Join Date
    Aug 2003
    Location
    UK
    Posts
    5,110
    Rep Power
    1803
    Originally Posted by salem
    One runs on windows (WinAVR) and one runs on Linux (GNUTAEP).
    You are all missing the elephant in the room... One targets AVR, the other targets ARM. Atmel AVR is not an ARM architecture. It is an 8-bit processor architecture.

    Both tool chains are complete, but for different targets. The one you need will depend on whether you are programming for ARM or AVR devices. MinGW targets (and us hosted on) Windows - you did not need that specifically for embedded development, though it may provide additional GNU tools an utilities that may not be in the embedded tool-chains - though it is equally likely that it will conflict with your other GNU tool chain installations in my experience.

    Even if we were talking about a single architecture, the GNU toolchain is open source and there are a number of distributions for most architectures, especially the more popular ones, so you should not be surprised. Each distribution may be built to a different release or with different host/target options but will perform more or less the same for the same source release. Some may simply be collections or repackaging of components found elsewhere, and some may include additional tools not part of the core toolchain. Some are even sold commercially (usually with some value-added components or services) - the term "free" refers to "freedom" not necessarily "for no money".
    Last edited by clifford; July 9th, 2013 at 04:01 PM.

IMN logo majestic logo threadwatch logo seochat tools logo