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 VS 2013 not recognizing ASF Defines (Read 4792 times)
Weeotch
Newbies
*
Offline


Posts: 5
Joined: Jul 24th, 2015
VS 2013 not recognizing ASF Defines
Aug 7th, 2015 at 12:27am
Print Post  
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
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12071
Location: United Kingdom
Joined: Apr 10th, 2010
Re: VS 2013 not recognizing ASF Defines
Reply #1 - Aug 7th, 2015 at 12:35pm
Print Post  
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
Joined: Jul 24th, 2015
Re: VS 2013 not recognizing ASF Defines
Reply #2 - Aug 7th, 2015 at 4:01pm
Print Post  
Thanks!  I'm using the Due.
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12071
Location: United Kingdom
Joined: Apr 10th, 2010
Re: VS 2013 not recognizing ASF Defines
Reply #3 - Aug 7th, 2015 at 4:03pm
Print Post  
Which ide version?
  
Back to top
WWW  
IP Logged
 
Weeotch
Newbies
*
Offline


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