Welcome, Guest. Please Login or Register
Arduino IDE for Visual Studio
 
 
When Logging a Support Issue in the Forum, please ensure you have also:-
  • Enabled vMicro > Compiler > Show Build Properties and Verbose
  • Re-Compile your program with these settings enabled
 
Save the new Output to a Text File and....
Support requests without the output above may be impossible to answer, so please help us to help you
 
  HomeSearch Tutorials & Wiki visualmicro.com LoginHelpRegister  
 
Page Index Toggle Pages: 1
Send Topic Print
Re: why can't i change the device to one of the SAM processors (Read 3513 times)
gyurko1
Newbies
*
Offline



Posts: 4
Re: why can't i change the device to one of the SAM processors
Sep 16th, 2014 at 4:17pm
 
Quick question...when I create a new sketch from Atmel Studio, why can't i change the device to one of the SAM processors in the project properties, only the AVRs?
Back to top
« Last Edit: Sep 17th, 2014 at 12:42pm by Visual Micro »  
 
IP Logged
 
Visual Micro
Administrator
*****
Offline



Posts: 10395
United Kingdom
Re: why can't i change the device to one of the SAM processors
Reply #1 - Sep 17th, 2014 at 12:45pm
 
Atmel does like a change. the best thing to do it delete the cppproj then create a new empty sam cpp project with the same name in the sketch folder. Then add the .ino and close and re-open the project. This will give you a clean arduino project for SAM.

We are looking at how to make this easier. I suspect that when you create an arduino project we need a workflow that allows you to easily choose between the two project types. We default to avr because currently 99% of arduino's are 8bit avr

In Visual Studio we don't have this problem so we need something different for atmel
Back to top
 
WWW  
IP Logged
 
Visual Micro
Administrator
*****
Offline



Posts: 10395
United Kingdom
Re: why can't i change the device to one of the SAM processors
Reply #2 - Oct 4th, 2014 at 9:28pm
 
more ...

I re-tested switching between 8 bit and 32 bit boards in Atmel Studio and as you have observed it wasn't working very well.

There is a new sp5 release that fixes things so you can use a clean arm g++ project or use the new file>new>project>arduino 32bit project" options.

In all cases it should work better now but more importantly if you have a 32 bit project then it will show the correct devices.

My questions below still stand because it might be that you do not need the atmel devices but in any event the sp5 version will be much better

Thanks again for the report

http://www.visualmicro.com/forums/YaBB.pl?board=NEW_RELEASES;action=modify;messa...
Back to top
 
WWW  
IP Logged
 
Page Index Toggle Pages: 1
Send Topic Print