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 Intellisence errors with nrf5 core (sandeep mistry) (Read 2798 times)
Toyman
Newbies
*
Offline


Posts: 3
Joined: Aug 14th, 2017
Intellisence errors with nrf5 core (sandeep mistry)
Aug 14th, 2017 at 9:46am
Print Post  
I have the same issue as Adafruit nrf52 core users experienced before: intellisence doesn't recognize Arduino code when nrf5 boards are selected 
Avr and esp8266 boards work fine. 
I am using the latest VM release and VS2015
  
Back to top
 
IP Logged
 
Toyman
Newbies
*
Offline


Posts: 3
Joined: Aug 14th, 2017
Re: Intellisence errors with nrf5 core (sandeep mistry)
Reply #1 - Aug 31st, 2017 at 6:53am
Print Post  
VM Team, pls. pay attention to this issue. nrf52 is a hot topic right now and it's a shame Visual Micro has so many issues with this platform, whether it's Adafruit or generic modules.
I realize VM is free, so we can demand nothing, but still...
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Intellisence errors with nrf5 core (sandeep mistry)
Reply #2 - Sep 2nd, 2017 at 3:32pm
Print Post  
Sorry for the delay. I will look into it but you can add it yourself...

Use the option to create a "local board.txt" in the project folder or add one yourself.

Add one property to it:-

Code
Select All
intellisense.include.paths={runtime.hardware.path} 



Click "save" after changing the board.txt because when you build VS saves the file after the build. Can be confusing.

After changing the file a build will force the change to be recognized immediately. VS will detect the change and that status bar should show intellisense is updating in the background. When that finishes your intellisense should work?

EDIT: The next release 1709.03 contains this change as standard but I'll leave this post here because it's useful for people to know that intellisense paths can be extended with a semi-colon list of intellisense.include.paths=
« Last Edit: Sep 2nd, 2017 at 9:55pm by Tim@Visual Micro »  
Back to top
IP Logged
 
Toyman
Newbies
*
Offline


Posts: 3
Joined: Aug 14th, 2017
Re: Intellisence errors with nrf5 core (sandeep mistry)
Reply #3 - Sep 4th, 2017 at 6:59am
Print Post  
Thanks. It works. It's good to be on the dark side again Smiley)
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint