Welcome, Guest. Please Login or Register
Arduino IDE for Visual Studio
 
 
When Logging a Support Issue in the Forum, please ensure you have also:-
  • Enabled vMicro > Compiler > Show Build Properties and Verbose
  • Re-Compile your program with these settings enabled
 
Save the new Output to a Text File and....
Support requests without the output above may be impossible to answer, so please help us to help you
 
  HomeSearch Tutorials & Wiki visualmicro.com LoginHelpRegister  
 
Page Index Toggle Pages: 1
Send Topic Print
VS 2013 not recognizing ASF Defines (Read 3821 times)
Weeotch
Newbies
*
Offline



Posts: 5
VS 2013 not recognizing ASF Defines
Aug 7th, 2015 at 1:27am
 
There are a handful of #defines for bit masks and registers that Atmel provides for on-chip resources that the Arduino editor seems to know about without including any additional libraries, but Visual Studio doesn't seem to know about them.  Examples: "ID_TC4" (Timer/Counter 4), "TC_CMR_WAVSEL_UP_RC" (UP mode without automatic trigger on RC Compare).

Are there some additional libraries I need to include if I'm using Visual Studio?
Back to top
 
 
IP Logged
 
Visual Micro
Administrator
*****
Offline



Posts: 10473
United Kingdom
Re: VS 2013 not recognizing ASF Defines
Reply #1 - Aug 7th, 2015 at 1:35pm
 
Hi,

I'll take a look, maybe some additional underlying paths required. There have been huge changes in the Arduino structure recently so we have to retest all deep level intellisense.

Which board and which core are you using?

Back to top
 
WWW  
IP Logged
 
Weeotch
Newbies
*
Offline



Posts: 5
Re: VS 2013 not recognizing ASF Defines
Reply #2 - Aug 7th, 2015 at 5:01pm
 
Thanks!  I'm using the Due.
Back to top
 
 
IP Logged
 
Visual Micro
Administrator
*****
Offline



Posts: 10473
United Kingdom
Re: VS 2013 not recognizing ASF Defines
Reply #3 - Aug 7th, 2015 at 5:03pm
 
Which ide version?
Back to top
 
WWW  
IP Logged
 
Weeotch
Newbies
*
Offline



Posts: 5
Re: VS 2013 not recognizing ASF Defines
Reply #4 - Aug 7th, 2015 at 9:21pm
 
Visual Studio 2013 Community Edition
Arduino 1.6.4
Back to top
 
 
IP Logged
 
Page Index Toggle Pages: 1
Send Topic Print