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 wprogram.h in Arduino 1.6 (Read 3151 times)
Pierce Nichols
Newbies
*
Offline


Posts: 2
Joined: Nov 4th, 2015
wprogram.h in Arduino 1.6
Nov 4th, 2015 at 3:25pm
Print Post  
I'm trying to compile against an experimental core (https://github.com/logos-electromechanical/ExperimentalCore-sam), and for reasons that are entirely opaque to me, Visual Studio keeps trying to pick up wprogram.h rather than Arduino.h. I checked that I have Arduino version 1.6 selected, and Visual Micro works correctly with boards not in the experimental core. 

Visual Micro auto-generates a .Arachnio-Due-PWM-test.vsarduino.h file that calls wprogram.h and it cannot be changed to Arduino.h since Visual Micro regenerates it every time. 

WTF? Any advice on how to fix this?  Angry Angry
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12188
Location: United Kingdom
Joined: Apr 10th, 2010
Re: wprogram.h in Arduino 1.6
Reply #1 - Nov 4th, 2015 at 3:48pm
Print Post  
Hi,

Visual Micro attempts to discover if the core has an arduino.h. If not it assumes wprogram.h which is what arduino used in older software versions.

So the question is why visual micro can't see the source folder correctly.

Please switch on "tools>options>visual micro>compiler>show build properties" and also verbose compile.

Then click "Build>Clean Solution" which clears the compiler cache.

Then build and email the output to info[at]visualmicro.com

Also confirm how you installed the core? If via Board Manager then please let me have the board support url you used.

Thanks
« Last Edit: Nov 4th, 2015 at 3:58pm by Tim@Visual Micro »  
Back to top
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint