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 Running visual micro on arduino-23 ide ? (Read 4347 times)
Hugh Mcgahern
Newbies
*
Offline


Posts: 5
Joined: Dec 19th, 2011
Running visual micro on arduino-23 ide ?
May 9th, 2013 at 9:16am
Print Post  
Hi, is it possible to change the arduino release version once visual micro has been installed?

I have a modified rep rap based sketch which runs perfectly happy under the arduino-23 release, that i would like to debug to understand it better. However i pointed visual micro to the arduino 1.4 release on install, can this be changed?

edit: ok, found out where to change the settings! (Tools-Options-Visual Micro) 

Unfortunately release 23 cannot be debugged   Sad
« Last Edit: May 9th, 2013 at 10:07am by Hugh Mcgahern »  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Running visual micro on arduino-23 ide ?
Reply #1 - May 9th, 2013 at 7:43pm
Print Post  
Smiley

From memory there were two reasons why an older arduino 0023 sketch fails to compile in arduino 1.0.4

1) 

0023 libraries and .c/.cpp files contained #include "wprogram.h", when later versions contain  #include "arduino.h".

I can tell you how to search and replace all these references if you don't know how.

2)

The Serial.print and serial.println functions changed between versions. In 0023 they print binary and in later versions text. In later arduino versions the "serial.write" function prints binary.

Summary

I don't know the sise of your project so this might not make sense and I might be missing some other changes that I am unaware of. However I am quite confident the issues are these two small points.

There shouldn't be too many of these references in your project and libs. Should be easy to change them and make it work in 1.0.4 but that I know this depends on your experience level.

Send me the project and libs by email if you want me to take a look info [at] visualmicro.com

fyi: The change to the way serial works is the reason the debug doesn't work, seemed like a real pain to support 0023 and earlier.

Tim

« Last Edit: May 9th, 2013 at 7:46pm by Tim@Visual Micro »  
Back to top
WWW  
IP Logged
 
Hugh Mcgahern
Newbies
*
Offline


Posts: 5
Joined: Dec 19th, 2011
Re: Running visual micro on arduino-23 ide ?
Reply #2 - May 9th, 2013 at 10:21pm
Print Post  
Thanks Tim, I will have a go at those changes and see if i can make it work  Grin 

edit: Ok, i give up, lol, any help would be appreciated Tim!
« Last Edit: May 13th, 2013 at 12:53pm by Hugh Mcgahern »  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint