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 ESP32 + v1902.8 + VS2019 Preview (Read 2502 times)
dudroot
Newbies
*
Offline


Posts: 2
Joined: Feb 13th, 2019
ESP32 + v1902.8 + VS2019 Preview
Feb 13th, 2019 at 12:40am
Print Post  
Trying Visual Micro for the first time, so the following issue is likely my own lack of understanding.

Trying to fix Intellisense issues on the BlinkWithoutDelay example (pinMode, digitalWrite, LED_BUILTIN are highlighted etc.). Code copy/paste from Arduino IDE into a new project, or opening the existing example project from VS makes no difference.

After reading many similar topics on the forum I've updated to 1902.8 but the issue remains. 

My config:
- IDE Locations is setup for Arduino 1.6/1.8, and custom board https://dl.espressif.com/dl/package_esp32_index.json
- Selected board is SparkFun ESP32 Thing
- Board Platform Installer is esp32 v1.0.1
- adding any #includes gives the error "cannot open source file" (but project still builds)

A path issue to esp32 libraries? Any help would be appreciated.
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: ESP32 + v1902.8 + VS2019 Preview
Reply #1 - Feb 13th, 2019 at 6:21pm
Print Post  
Thanks for the info. The intellisense for standard "arduino/esp" syntax in your example should work without issue.

Please confirm if the build is working so that I know what info to ask for?

Thanks
« Last Edit: Feb 13th, 2019 at 6:23pm by Tim@Visual Micro »  
Back to top
WWW  
IP Logged
 
dudroot
Newbies
*
Offline


Posts: 2
Joined: Feb 13th, 2019
Re: ESP32 + v1902.8 + VS2019 Preview
Reply #2 - Feb 13th, 2019 at 11:13pm
Print Post  
Yes that basic project does build OK.

However I've just noticed projects that use servo.h do not. It attempts to build with the AVR servo library. I've copied "ESP32_Arduino_Servo_Library" (downloaded from https://github.com/RoboticsBrno/ESP32-Arduino-Servo-Library) to both:
- C:\Program Files (x86)\Arduino\libraries
- USER\Documents\Arduino\libraries
and double clicked "ServoESP32" in Micro Explorer, (which references the first path above)

Thanks for your help
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: ESP32 + v1902.8 + VS2019 Preview
Reply #3 - Feb 14th, 2019 at 1:25pm
Print Post  
Please switch on vmicro>compiler>verbose and also the "show build properties" option on same menu

Then build and copy the output into a .txt file.

You can attach the .txt file here by clicking the Reply button (NOT using the quick reply at the bottom of this page)
  
Back to top
WWW  
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint