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 Arduino 1.6 and the F(" ") macro (Read 4875 times)
Michael Brian
Newbies
*
Offline


Posts: 4
Location: Windsor Ontario, Canada
Joined: Dec 21st, 2012
Arduino 1.6 and the F(" ") macro
Feb 25th, 2016 at 3:56pm
Print Post  
I recently upgraded to the latest VM for VS 2013 Pro.  While compiling an older file (no errors) I noticed that VM flagged all the F() Macros as errors '<< (F("Seq="))'.
The rest of the function is not editable with the intellisense editor.
The file still seems to compile correctly.
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12071
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Arduino 1.6 and the F(" ") macro
Reply #1 - Feb 25th, 2016 at 4:56pm
Print Post  
VS2015 handles things differently and can object to some gcc/arduino code. We can normally add handling for it to remove the intellisense error.

To be able to test this it is important to know which board you are using and which version of the arduino ide?

As you have said, Visual Micro handles the compile so it will work okay, VS handles intellisense and it's a 99% fit.
  
Back to top
WWW  
IP Logged
 
Michael Brian
Newbies
*
Offline


Posts: 4
Location: Windsor Ontario, Canada
Joined: Dec 21st, 2012
Re: Arduino 1.6 and the F(" ") macro
Reply #2 - Feb 25th, 2016 at 6:09pm
Print Post  
The board is a "UNO" type 328P with FTDI program interface.
Arduino IDE   is V 1.6.7.
Visual Studio is V 4.6.00081
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12071
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Arduino 1.6 and the F(" ") macro
Reply #3 - Feb 27th, 2016 at 1:50pm
Print Post  
Can you please show the full line of code. 

Thanks
  
Back to top
WWW  
IP Logged
 
Michael Brian
Newbies
*
Offline


Posts: 4
Location: Windsor Ontario, Canada
Joined: Dec 21st, 2012
Re: Arduino 1.6 and the F(" ") macro
Reply #4 - Feb 27th, 2016 at 3:29pm
Print Post  
Here is a section of code.  There are other instances where this happens.
Note that the first two 'STAT_OUT's are Ok. The intellisense works there but not after.
« Last Edit: Feb 27th, 2016 at 3:33pm by Michael Brian »  

Please Register or Login to the Forum to see File Attachments
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12071
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Arduino 1.6 and the F(" ") macro
Reply #5 - Feb 27th, 2016 at 3:40pm
Print Post  
Oh okay thanks. I misread your first post so ignore my comment about vs2015

It will help to know if you also upgraded the arduino ide at the same time or was 1.6.7 and visual micro working prior to upgrade?

Would be help to have the project as a zip if possible email to info[at]visualmicro.com

Thanks

« Last Edit: Feb 27th, 2016 at 3:40pm by Tim@Visual Micro »  
Back to top
WWW  
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint