Before logging an issue, please update to the latest release of Visual Micro from the Downloads Page.

When Logging a Support Issue in the Forum, please ensure you have also:-

  • Enabled vMicro > Compiler > Show Build Properties
  • Re-Compile your program with these settings enabled
 
Save the new Output to a Text File and....
  • Click the Reply button and attach as .txt file OR
  • Click here to Email us with the file attached, and a link to your post
Support requests without the output above may be impossible to answer, so please help us to help you
 
Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Using AS6 toolchain (Read 2472 times)
KirAsh4
Junior Member
**
Offline


Posts: 10
Joined: Apr 3rd, 2014
Using AS6 toolchain
Apr 3rd, 2014 at 6:41pm
Print Post  
Is it possible to configure Visual Micro to use the avr toolchain that comes with AS6? I don't necessarily want to change it completely. I do want to keep it using the Arduino IDE's compiler, but I'm wondering if there's a way to add another option that allows me to switch between the Arduino's gcc and the toolchain within AS (while still retaining all of the Arduino libraries available to work with.)
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12163
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Using AS6 toolchain
Reply #1 - Apr 3rd, 2014 at 7:17pm
Print Post  
Hi,

Thanks for the question. WE are working on trying to provide a convert option that will allow you to achieve this. Any other ideas are still very welcome it's certainly a topic of interest.

You might have seen the extended tools>visual micro>programmers menu in atmel studio. It's a first step towards allowing a simpler transition from arduino to native atmel studio and being able to use the native atmel studio tools.

One question is what to do with the .ino files. I think users will have to split them out to cpp or combined them into 1 big .cpp (which is what the arduino compiler does at the moment)

Another question is how to link the library sources to the atmel project. Either by copying the sources locally or adding short cuts to the real sources. AS6 supports file short cuts but not folder short cuts (virtual folders) in the solution tree. So the current consideration is what options/user choices need to be implemented for the conversation.

To get an idea of what sources we are talking about build your project then click file>open object file for debugging". Opening the .elf will auto create a new as6 project with ALL sources.

When we have this working nicely it should then be fairly easy to write a mapping system that translates arduino build properties to as6 project properties. Finally we would have a project with .ino files, Visual Micro will go to sleep and F5 might just build using atmel studio.

But nothing is ever that simple  Sad. I have said nothing that you can not try to replicate yourself (time permitting), if you do I would be keen to hear the stumbling blocks. I hope to find some time to experiment in a couple of months.

« Last Edit: Apr 3rd, 2014 at 7:19pm by Tim@Visual Micro »  
Back to top
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint