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
ESP8266 (Read 11465 times)
Johanan
Junior Member
**
Offline



Posts: 13
ESP8266
Aug 9th, 2015 at 7:24pm
 
I tried to setup Visual micro fro ESP8266, I can see the board, but get a compilation error with no description. The original Arduino IDE compiles the EPS8266 OK. What am I missing?
Thanks
Johanan
Back to top
 
 
IP Logged
 
Visual Micro
Administrator
*****
Offline



Posts: 10464
United Kingdom
Re: ESP8266
Reply #1 - Aug 9th, 2015 at 7:26pm
 
Hi,

If you switch on tools>options>visual micro>compiler>show build properties and verbose then click build>clean>then click build and email the output to info[at]visualmicro.com that will help

Thanks
Back to top
 
WWW  
IP Logged
 
Johanan
Junior Member
**
Offline



Posts: 13
Re: ESP8266
Reply #2 - Aug 9th, 2015 at 7:32pm
 
So it can't fine the compiler..
Where do I set it?
Thanks


"C:\Users\Johanan\Documents\Arduino\hardware\esp8266com/esp8266/tools/{runtime.o
s}/xtensa-lx106-elf/bin/xtensa-lx106-elf-g++" -D__ets__ -DICACHE_FLASH -U__STRICT_ANSI__ "-IC:\Users\Johanan\Documents\Arduino\hardware\esp8266com/esp8266/sdk//include" -c -Os -mlongcalls -mtext-section-literals -fno-exceptions -fno-rtti -std=c++11 -MMD -DF_CPU=80000000L -DARDUINO=165 -DARDUINO_ESP8266_ESP01 -DARDUINO_ARCH_ESP8266 -DESP8266 -I"C:\Users\Johanan\Documents\Arduino\hardware\esp8266com\esp8266\cores\esp8266"
-I"C:\Users\Johanan\Documents\Arduino\hardware\esp8266com\esp8266\variants\gener
ic" "C:\Users\Johanan\AppData\Local\V.Micro\Arduino\Builds\epsProj1\generic\epsProj1
.cpp" -o "C:\Users\Johanan\AppData\Local\V.Micro\Arduino\Builds\epsProj1\generic\epsProj1
.cpp.o"
The system cannot find the file specified
     Process: "C:\Users\Johanan\Documents\Arduino\hardware\esp8266com\esp8266\tools\{runtime.o
s}\xtensa-lx106-elf\bin\xtensa-lx106-elf-g++" -D__ets__ -DICACHE_FLASH -U__STRICT_ANSI__ "-IC:\Users\Johanan\Documents\Arduino\hardware\esp8266com/esp8266/sdk//include" -c -Os -mlongcalls -mtext-section-literals -fno-exceptions -fno-rtti -std=c++11 -MMD -DF_CPU=80000000L -DARDUINO=165 -DARDUINO_ESP8266_ESP01 -DARDUINO_ARCH_ESP8266 -DESP8266 -I"C:\Users\Johanan\Documents\Arduino\hardware\esp8266com\esp8266\cores\esp8266"
-I"C:\Users\Johanan\Documents\Arduino\hardware\esp8266com\esp8266\variants\gener
ic" "C:\Users\Johanan\AppData\Local\V.Micro\Arduino\Builds\epsProj1\generic\epsProj1
.cpp" -o "C:\Users\Johanan\AppData\Local\V.Micro\Arduino\Builds\epsProj1\generic\epsProj1
.cpp.o"
Error compiling
Back to top
 
 
IP Logged
 
Visual Micro
Administrator
*****
Offline



Posts: 10464
United Kingdom
Re: ESP8266
Reply #3 - Aug 9th, 2015 at 8:10pm
 
Thanks,

Please download the latest beta from the visualmicro.com downloads page. The latest esp sources use a property that no one has used before but should have been supported.

runtime.os=windows

Back to top
 
WWW  
IP Logged
 
Visual Micro
Administrator
*****
Offline



Posts: 10464
United Kingdom
Re: ESP8266
Reply #4 - Aug 9th, 2015 at 8:28pm
 
I've just seen another potential error in your output but when I install the esp8266 core it works well for me.

Please give me a link to the .json index file you are using for the 8266

Thanks

ps: don't forget to install the latest beta from near the top of the downloads page
Back to top
« Last Edit: Aug 9th, 2015 at 8:29pm by Visual Micro »  
WWW  
IP Logged
 
Johanan
Junior Member
**
Offline



Posts: 13
Re: ESP8266
Reply #5 - Aug 11th, 2015 at 7:27pm
 
cant find the beta version, so I assume it is the last stable one from 10th Aug.
Downloaded and installed it, but still no joy.
I am not sure what do you mean by:
"Please give me a link to the .json index file you are using for the 8266"

I downloaded eps files from :

https://github.com/sandeepmistry/esp8266-Arduino

Thanks
Johanan
Back to top
 
 
IP Logged
 
Visual Micro
Administrator
*****
Offline



Posts: 10464
United Kingdom
Re: ESP8266
Reply #6 - Aug 11th, 2015 at 8:44pm
 
Yes it's now the release.

Okay that link you are using is out of date and unsupported. Since arduino 1.6.2 there is a new system which arduino produced called the Board Manager. If you install a clean copy of the latest Arduino software (you can use the zip from arduino.cc) then point visual micro at it you will be in better shape.

Then configure the location for arduino 1.6 in the Visual Micro Ide locations window. Also notice lower down the window is an "Additional board support urls" field and below the field is a link to the page that arduino.cc maintain with a list of .json urls.

On the page you will find the url or the official ESP8266 Community Arduino index.json which is http://arduino.esp8266.com/stable/package_esp8266com_index.json

Paste the url into the visual micro additional board urls then click OK.

In the Micro explorer click on the "Board Manager" tab and the esp8266 should appear as a core that can be downloaded. Click the esp core and you will be prompted to install. Click OK and wait for the download to complete (it's about 500mb)

When the download has finished click the Rescan button on the explorer bar.

Create or open a sketch. Ensure you select Arduino 1.6 and Esp8266 from the tool bar or menu. You will also find additional options for the board on the Visual Micro menu below the list of boards.

This will give you the most recent and the active release of the esp build system and you will see in the boards manager that new updates will automatically be shown when they are available.

Please see the Board Manager documentation for more info http://www.visualmicro.com/page/User-Guide.aspx?doc=Board-Manager.html

Thanks
Back to top
 
WWW  
IP Logged
 
Johanan
Junior Member
**
Offline



Posts: 13
Re: ESP8266
Reply #7 - Aug 12th, 2015 at 9:06pm
 
Got the simplest sketch compiled.
Any idea where can one find some eps8266 examples or docs?

Thanks
Johanan
Back to top
« Last Edit: Aug 13th, 2015 at 6:07am by Johanan »  
 
IP Logged
 
danieldk
Newbies
*
Offline



Posts: 8
Re: ESP8266
Reply #8 - Aug 14th, 2015 at 8:07am
 
I have installed the ESP8266 boards from both Arduino , and from the VisualMicro boards manager, But I am still unable to select the ESP boards to program.

When I install the ESP8266 from the boards manager ( 1.6.5-947-g39819f0 ) it installs,
when I go to the "installed" tab, ESP8266 does not show up, and according to the "manage boards" tab its not installed

Am i doing something strange ?
( VS2015 community edition, installed Visual Micro addon - .visx file )

edit :  It works in the regular Arduino IDE 1.6.5 but not from Visual Studio
Back to top
« Last Edit: Aug 14th, 2015 at 8:08am by danieldk »  
 
IP Logged
 
Johanan
Junior Member
**
Offline



Posts: 13
Re: ESP8266
Reply #9 - Aug 14th, 2015 at 8:37am
 
I am using VS2012, I followed Tim's instruction to the point (above) and it works.
Make sure you added wifi lib to the ide.
Maybe there are some issues with VS2015.
Johanan
Back to top
 
 
IP Logged
 
Visual Micro
Administrator
*****
Offline



Posts: 10464
United Kingdom
Re: ESP8266
Reply #10 - Aug 14th, 2015 at 2:55pm
 
@danieldk

You have to click Rescan or restart the ide after installing or removing hardware.

If the esp still does not show up then another board manager url package has resulted in an unknown condition and caused visual micro to stop loading hardware. In this case please tell me the names of any folder you see below here C:\Users\[your name]\AppData\Roaming\arduino15\packages
Back to top
 
WWW  
IP Logged
 
danieldk
Newbies
*
Offline



Posts: 8
Re: ESP8266
Reply #11 - Aug 15th, 2015 at 9:58am
 
interesting,

I have :
arcore ( this shows up in boards manager )
arduino
attiny
esp8266
RFduino
Sparkfun

( all installed from the Arduino IDE boards manager, not from whithin Visual studio /  Visual Micro )

-D
Back to top
 
 
IP Logged
 
Visual Micro
Administrator
*****
Offline



Posts: 10464
United Kingdom
Re: ESP8266
Reply #12 - Aug 15th, 2015 at 4:29pm
 
Well I thought I was going to be blaming the problem on Adafruit but this time it was my fault.

The "arcore" firmware does not have its own tools, it uses the tools of other packages/platforms but Visual Micro still tried to find them. That caused the background Boards Manager to fail to load most other boards.

A good one found thanks!

Fixed in 1508.14 Sp1 available from the downloads page
Back to top
 
WWW  
IP Logged
 
danieldk
Newbies
*
Offline



Posts: 8
Re: ESP8266
Reply #13 - Aug 17th, 2015 at 11:24am
 
hihi,
That fixed it in Both the VS2013 and VS2015 community editions Smiley

Thank you very much !
Back to top
« Last Edit: Aug 17th, 2015 at 11:26am by danieldk »  
 
IP Logged
 
Page Index Toggle Pages: 1
Send Topic Print