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
Hot Topic (More than 8 Replies) ESP8266 (Read 15592 times)
Johanan
Junior Member
**
Offline


Posts: 13
Joined: Oct 21st, 2014
ESP8266
Aug 9th, 2015 at 6:24pm
Print Post  
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
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12071
Location: United Kingdom
Joined: Apr 10th, 2010
Re: ESP8266
Reply #1 - Aug 9th, 2015 at 6:26pm
Print Post  
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
Joined: Oct 21st, 2014
Re: ESP8266
Reply #2 - Aug 9th, 2015 at 6:32pm
Print Post  
So it can't fine the compiler..
Where do I set it?
Thanks


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  ic" .cpp" -o .cpp.o"
The system cannot find the file specified
     Process: 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  ic" .cpp" -o .cpp.o"
Error compiling
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12071
Location: United Kingdom
Joined: Apr 10th, 2010
Re: ESP8266
Reply #3 - Aug 9th, 2015 at 7:10pm
Print Post  
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
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12071
Location: United Kingdom
Joined: Apr 10th, 2010
Re: ESP8266
Reply #4 - Aug 9th, 2015 at 7:28pm
Print Post  
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
« Last Edit: Aug 9th, 2015 at 7:29pm by Tim@Visual Micro »  
Back to top
WWW  
IP Logged
 
Johanan
Junior Member
**
Offline


Posts: 13
Joined: Oct 21st, 2014
Re: ESP8266
Reply #5 - Aug 11th, 2015 at 6:27pm
Print Post  
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
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12071
Location: United Kingdom
Joined: Apr 10th, 2010
Re: ESP8266
Reply #6 - Aug 11th, 2015 at 7:44pm
Print Post  
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
Joined: Oct 21st, 2014
Re: ESP8266
Reply #7 - Aug 12th, 2015 at 8:06pm
Print Post  
Got the simplest sketch compiled.
Any idea where can one find some eps8266 examples or docs?

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


Posts: 11
Joined: Jun 18th, 2013
Re: ESP8266
Reply #8 - Aug 14th, 2015 at 7:07am
Print Post  
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
« Last Edit: Aug 14th, 2015 at 7:08am by danieldk »  
Back to top
 
IP Logged
 
Johanan
Junior Member
**
Offline


Posts: 13
Joined: Oct 21st, 2014
Re: ESP8266
Reply #9 - Aug 14th, 2015 at 7:37am
Print Post  
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
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12071
Location: United Kingdom
Joined: Apr 10th, 2010
Re: ESP8266
Reply #10 - Aug 14th, 2015 at 1:55pm
Print Post  
@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
Junior Member
**
Offline


Posts: 11
Joined: Jun 18th, 2013
Re: ESP8266
Reply #11 - Aug 15th, 2015 at 8:58am
Print Post  
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
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12071
Location: United Kingdom
Joined: Apr 10th, 2010
Re: ESP8266
Reply #12 - Aug 15th, 2015 at 3:29pm
Print Post  
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
Junior Member
**
Offline


Posts: 11
Joined: Jun 18th, 2013
Re: ESP8266
Reply #13 - Aug 17th, 2015 at 10:24am
Print Post  
hihi, 
That fixed it in Both the VS2013 and VS2015 community editions Smiley

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