[TUT] How to set up Atmel Studio to use different compilers

1 post / 0 new
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Atmel Studio 6 and 7 supports setting up and use different compilers through what they call "Flavours".


  1. Pull down the Tools menu and select Options...
  2. In the dialogue that follows, choose Toolchain on the left.
  3. In the right pane, in the drop down Toolchains, select the "family" of toolchains for which you want to ad a new flavour (e.g. Atmel AVR 8-bit (C language).
  4. Press the Add Toolchain button.
  5. In the Add Toolchain Package dialogue that follows, set a fitting name and set the Package Base Path. This is the path to the folder containing the compiler, linker etc (often "bin"). Note that there is a button to the right allowing you to browse to the folder (rather than typing the path in the text box).
  6. Press the Add button.
  7. You now have a new flavour to use in any project. Here are three different flavours set up:



The Native flavour is the one that was set up when Studio was installed. The other two was added by by the user.


To actually use the flavour:

  1. Go to the project Properties
  2. Select Advanced, and then
  3. In the drop down Toolchain Flavour to the right, select the desired toolchain/flavour:



That's it! (-:

Happy 75th anniversary to one of the best movies ever made! Rick Blane [Bogart]: "Of all the gin joints, in all the towns, in all the world, she walks into mine."


"Some questions have no answers."[C Baird] "There comes a point where the spoon-feeding has to stop and the independent thinking has to start." [C Lawson] "There are always ways to disagree, without being disagreeable."[E Weddington] "Words represent concepts. Use the wrong words, communicate the wrong concept." [J Morin] "Persistence only goes so far if you set yourself up for failure." [Kartman]