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 define in vsarduino.h ? (Read 4398 times)
DanN
Newbies
*
Offline


Posts: 1
Location: Ontario, Canada
Joined: Feb 29th, 2012
define in vsarduino.h ?
Feb 29th, 2012 at 4:10pm
Print Post  
Hello,
I'm working with V27, and I want to compile using a "relaxed" version of arduino 1.00 (used by Ardu pilot community)

When I point to arduino 0.23, or 1.00 directories, VM works fine and defines ARDUINO (in vsarduino.h) is 23, or 100 as it should, and includes the proper hardware headers for the different versions.

But when I point to my relaxed version of 1.0 directory, #define ARDUINO changes from 100 to 023, even though I don't have a 023 directory 

What determines this define, and any ideas how to get around this, I want to include the proper hardware 1.0 headers ?  Embarrassed

*Arduino Mega 256 board selected
« Last Edit: Feb 29th, 2012 at 4:14pm by DanN »  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12071
Location: United Kingdom
Joined: Apr 10th, 2010
Re: define in vsarduino.h ?
Reply #1 - Feb 29th, 2012 at 10:59pm
Print Post  
vm loads the version from the arduino version.txt located in "[arduino exe path]\lib" folder
 
Arduino 1.0 contains a version of 100
 
  
Back to top
WWW  
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12071
Location: United Kingdom
Joined: Apr 10th, 2010
Re: define in vsarduino.h ?
Reply #2 - Sep 1st, 2012 at 11:24pm
Print Post  
UPDATE: If you are working with ArduPilot then use the latest version of visual micro and arduino 1.0.1 or later. 

You no longer need the relax patch, 1.0.1 has it built in
  
Back to top
WWW  
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint