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 VM gets wrong Arduino? (Read 2574 times)
NF1Z
Junior Member
**
Offline


Posts: 57
Joined: Aug 18th, 2013
VM gets wrong Arduino?
Apr 2nd, 2014 at 4:23am
Print Post  
I haven't seen any mention of this so far, but apologies if I have missed it.

What happens is that sometimes I get a build for the Yun instead of the Uno.  Not having a Yun, this is annoying and caused me much consternation when I discovered I was once again out of RAM!  The Micro Boards selection is showing Uno, but the build output is clearly for the Yun, eg:
.... -mmcu=atmega32u4 -DF_CPU=16000000L -DARDUINO=150 -DARDUINO_AVR_YUN -DARDUINO_ARCH_AVR -DUSB_VID=0x2341 -DUSB_PID=0x8041 -DUSB_MANUFACTURER= -DUSB_PRODUCT="\"Arduino Yun\" ....

Also the temp files go to ....Builds\<sketch>\yun\ instead of ...\uno\.  I will usually see both of these directories when it happens.

As to context, I can't tell you much.  It seems to have started when I installed 1401.26 and simultaneously went to Arduino 1.5.x.  Before that there was no Yun option anyway, , but I did always get what I selected (I think).  Other than that, it seems to follow a Clean Solution, but that's just a feeling.  Might be after refreshing the libraries?  Does not seem to be specific to a sketch.

I can fix it by re-selecting 1.5.x and Uno, so no big deal, just annoying.

Any thoughts?
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12163
Location: United Kingdom
Joined: Apr 10th, 2010
Re: VM gets wrong Arduino?
Reply #1 - Apr 2nd, 2014 at 3:19pm
Print Post  
Yes when you change from 1.0.x to 1.5.x the board needs to be re-selected once for the project. You must then click OK to save the project when you attempt to close it otherwise the new board selection will not be saved and the next time you open the project you will have to repeat the board selection.

You see Yun for 1.5 because this is the first board in the list

This is a minor bug in visual micro which should better handle the switch between arduino apps

Thanks for reporting it
  
Back to top
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint