Upgrading GCC compiler for SMART E70 in Atmel Studio 7

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

Dear all,

 

I just upgraded my GCC toolchain to 6.3.1. (was 5.3.1). It was comparable simple because the directory structure found in https://developer.arm.com/open-s... just needs to be replaced by the one that was on my harddisk in the ATMEL installation directory. 

When I build my project I still get the message 'Invoking ... 5.3.1'. This is just a text message because when I compile in verbose mode I can see that the project is compiled by the new toolchain. The 'Invoking ...' message comes from the Makefile. However, I couldn't figure out how to change this. Does anyone know how to do this?

Additionally I find out that in my project properties dialog box the entry 'Toolchain->ARM/GNU common->General' still has the old default paths. I couldn't find a way how to change this as well. In the AS7 help pages this entry is simply ignored. Any hint is welcome.

 

Best Regards

Markus

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

I can switch back and forth between 5.3.1 and 6.2.1 by simply shutting down AS, rename the toolchain Directory names and restarting AS. AS should detect the new toolchaine.g.

 

- rename "C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\arm\arm-gnu-toolchain" -> "C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\arm\arm-gnu-toolchain-5.3.1"

- download and unzip new toolset (6.2.1 here)

- copy to "C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\arm", Directory Name is "C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\arm\arm-gnu-toolchain"

- you can check the readme Name in this Directory if you're lost e.g. "arm-gnu-toolchain-6.2.1.496-readme"

- start AS, open Project properties->ARM/GNU common->General, include Directory Name should contain toolchain Version number (see screenshot above)

- build all, check Output. It should show the Compiler Version e.g. "Invoking: ARM/GNU C Compiler : 6.2.1"

 

 

 

SAME newbie