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 1.6.4 and Arduino 1.6.4 (Read 10950 times)
John21
Junior Member
**
Offline


Posts: 13
Joined: Nov 11th, 2013
ESP8266 1.6.4 and Arduino 1.6.4
May 25th, 2015 at 11:53pm
Print Post  
I'm having problems getting the latest version of the ESP8266 board definition (1.6.4) to work with Visual Micro and Arduino IDE 1.6.4.

The version that shows as installed in the Arduino IDE is version 1.6.4-673-g8cd3697. When I try to rebuild, it says the build failed without displaying any error messages, which is really odd.

If I use version 1.6.2 of the ESP8266 board, it compiles and uploads. However, version 1.6.2 has some other issues with the Wifi code that prevent me from using it.

I'm using the latest version of Visual Micro, that I just downloaded and installed today. By the way, how do you tell what the version is of Visual Micro?

Has anyone else been able to get ESP8266 1.6.4 to work with Arduino IDE 1.6.4 (using the board manager)?
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12222
Location: United Kingdom
Joined: Apr 10th, 2010
Re: ESP8266 1.6.4 and Arduino 1.6.4
Reply #1 - May 26th, 2015 at 12:05am
Print Post  
Hi, if you can provide a link to the index/.json/url I can test. I currently have 1.6.2 showing as the most recent.

Thanks
  
Back to top
IP Logged
 
John21
Junior Member
**
Offline


Posts: 13
Joined: Nov 11th, 2013
Re: ESP8266 1.6.4 and Arduino 1.6.4
Reply #2 - May 26th, 2015 at 2:07am
Print Post  
Here is what I have in the Additional Boards manager URLs:

http://arduino.esp8266.com/package_esp8266com_index.json,https://adafruit.github...

You'll noticed I have three URLs. I've been trying different combinations. Arduino IDE 1.6.4 can handle multiple ESP8266 plug-ins installed, but Visual Micro seems to get confused if there is more than one.
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12222
Location: United Kingdom
Joined: Apr 10th, 2010
Re: ESP8266 1.6.4 and Arduino 1.6.4
Reply #3 - May 26th, 2015 at 11:29am
Print Post  
Okay thanks I will take a look at the multiple versions of the same package issue however I suggest dumping the adafruit version.

So, from memory, the versions I could see in boards manager were like 1.6.2, they didn't seem to relate to the version in your report.

You can use the micro explorer to go to the contributions folder and delete the adafruit.json then in staging delete the esp core and tools zipz/tar/bz2 etc. In packages delete any esp8266 you are not using.

Then stick to the one esp8266 for now  Smiley

tip: In tools>options>visual micro>locations you can also specify a different contributions folder for Visual Micro keeping things separate to the arduino ide and also away from the user home folder which is often on SSD. Might not be useful for you but worth mentioning.
« Last Edit: May 26th, 2015 at 11:31am by Tim@Visual Micro »  
Back to top
IP Logged
 
John21
Junior Member
**
Offline


Posts: 13
Joined: Nov 11th, 2013
Re: ESP8266 1.6.4 and Arduino 1.6.4
Reply #4 - May 26th, 2015 at 3:08pm
Print Post  
I see version 1.6.4-673-g8cd3697 from the Arduino IDE's Boards Manager dialog--not in Visual Micro, which I guess is another difference. I was using Arduino to install/remove boards. 

For the boards location, do you mean the Configure Ide Locations dialog? And is the one I want to set the Optional sketchbook location?

Thanks,
  -- John
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12222
Location: United Kingdom
Joined: Apr 10th, 2010
Re: ESP8266 1.6.4 and Arduino 1.6.4
Reply #5 - May 26th, 2015 at 3:22pm
Print Post  
Hi,

No the contributions locations is where downloaded hardware is stored. It's unconnected to the sketchbook folder.

The option is here is you want it "tools>options>visual micro>locations"
  
Back to top
IP Logged
 
John21
Junior Member
**
Offline


Posts: 13
Joined: Nov 11th, 2013
Re: ESP8266 1.6.4 and Arduino 1.6.4
Reply #6 - May 27th, 2015 at 2:21am
Print Post  
I didn't read your post carefully enough. I see now in the Options dialog under Applications & Locations a setting called Contributions Folder. That is useful. Thanks!

So do you think the build problem I was having might be related to the Arduino IDE installing 1.6.4 etc. of ESP8266, but VM not seeing it?
  
Back to top
 
IP Logged
 
John21
Junior Member
**
Offline


Posts: 13
Joined: Nov 11th, 2013
Re: ESP8266 1.6.4 and Arduino 1.6.4
Reply #7 - May 27th, 2015 at 2:55am
Print Post  
I did some more testing. First in the Arduino IDE's preferences dialog, I cleared the Additional Board Manager URLs text box. Then I set the Contributions Folder in VM and clicked the Rescan button in Manage Board tab of VM Explorer. What showed up is Version 1.6.0 if ESP8266. However if I look at the json file downloaded into my contributions folder, it clearly shows this: "version":"1.6.4-673-g8cd3697".

Is it possible that VM isn't parsing this version correctly and is therefore showing it as version 1.6.0?

Additionally, I clicked on 1.6.0 in VM and asked it to download and install that version for me. It downloaded and then installed it. Once it finished installing it, the message at the bottom of the window said: "Found 3 packages containing 12 platforms and 24 boards for Ide Version 1.6.4"

I then have to restart Visual Studio before I see the list of boards. I then select "Generic ESP8266 Module" for the board and build. In the Micro Build output window, I see this:
Code
Select All
Build folder:
	Process: f-gcc\1.20.0-26-gb404fb9\bin\xtensa-lx106-elf-g++" ...
...
Error compiling 



I left a lot of the text out. There were six very long lines that started with "Process:" that I didn't include.

Does that help?
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12222
Location: United Kingdom
Joined: Apr 10th, 2010
Re: ESP8266 1.6.4 and Arduino 1.6.4
Reply #8 - May 27th, 2015 at 11:43am
Print Post  
Hi John,

The version is contained in the index file so it's not something Visual Micro works out. However the stated version and the version of each tool and core can all be different so it sounds like visual micro is simply showing a different version that you see  elsewhere but I think it's going to be the same. I will look at it.

Meanwhile these guys seem to be working okay http://www.visualmicro.com/forums/YaBB.pl?num=1432200348/12#12

By the way the Rescan buttons prevents the need for a restart. I suggest clicking the uninstall on esp, then click install this can clear an issue with extraction of the downloaded tar files. It's early days for the esp8266, downloadable cores and visual micro so will mature during next few weeks.
  
Back to top
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12222
Location: United Kingdom
Joined: Apr 10th, 2010
Re: ESP8266 1.6.4 and Arduino 1.6.4
Reply #9 - May 30th, 2015 at 7:41pm
Print Post  
Hi,

There has been a big update for esp8266 which should solve all issues. As you found if you updated your esp core to the new 1.6.4-esp version visual micro failed. This was due to the version number being calculated incorrectly.

I suggest you uninstall the esp core and reinstall using either the arduino or visual micro (after upgrade)

Please read the release notes for more info.

http://www.visualmicro.com/page/Visual-Micro-Product-Version-History-Fixes-and-A...

Thanks
  
Back to top
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint