Closed KurtE closed 2 years ago
Follow the steps to install Esp8266 boards:
ESP8266 Community: http://arduino.esp8266.com/stable/package_esp8266com_index.json
Generic ESP8266 modules
Olimex MOD-WIFI-ESP8266
NodeMCU 0.9 (ESP-12)
NodeMCU 1.0 (ESP-12E)
Adafruit HUZZAH ESP8266 (ESP-12)
SparkFun Thing
SweetPea ESP-210
WeMos D1
WeMos D1 mini
Menu -> Install platform -> Add Package
, open the file packages.stino-settings
;
Edit packages.stino-settings
, add the esp8266 package index file address into this file, and save:
{
"arduino": "http://downloads.arduino.cc/packages/package_index.json",
"arduino_lib": "http://downloads.arduino.cc/libraries/library_index.json",
"esp8266": "http://arduino.esp8266.com/stable/package_esp8266com_index.json"
}
Restart SublimeText, and it will download the esp8266 package index file. Then menu item esp8266
will appear in Menu -> Install Platform
, and click the version you want to install, it will download all.
After installation, you will find esp8266
in Menu -> Platform
, and you can use it.
Thanks.
Thanks I am trying that now. Would make a lot more sense.
So I got to the point of restart sublime test . The menu item for esp8266 shows sub menus going through sparkfun… I select it and then see:
[http://arduino.esp8266.com/stable/package_esp8266com_index.json] Download started.
[http://arduino.esp8266.com/stable/package_esp8266com_index.json] 12% (0.00 M / 0.02 M)
[http://arduino.esp8266.com/stable/package_esp8266com_index.json] 24% (0.01 M / 0.02 M)
[http://arduino.esp8266.com/stable/package_esp8266com_index.json] 36% (0.01 M / 0.02 M)
[http://arduino.esp8266.com/stable/package_esp8266com_index.json] 48% (0.01 M / 0.02 M)
[http://arduino.esp8266.com/stable/package_esp8266com_index.json] 59% (0.01 M / 0.02 M)
[http://arduino.esp8266.com/stable/package_esp8266com_index.json] 71% (0.02 M / 0.02 M)
[http://arduino.esp8266.com/stable/package_esp8266com_index.json] 83% (0.02 M / 0.02 M)
[http://arduino.esp8266.com/stable/package_esp8266com_index.json] 95% (0.02 M / 0.02 M)
[http://arduino.esp8266.com/stable/package_esp8266com_index.json] Download completed.
[https://cdn.sparkfun.com/assets/learn_tutorials/4/9/5/sparkfun-esp8266-2.1.0.tar.bz2] Waiting for download...
Which stops there. I then look at console and see:
https://cdn.sparkfun.com/assets/learn_tutorials/4/9/5/sparkfun-esp8266-2.1.0.tar.bz2 <urlopen error [WinError 10038] An operation was attempted on something that is not a socket>
This is on the windows 10 machine, will try also on mac
From: S. Zhang [mailto:notifications@github.com] Sent: Friday, April 14, 2017 7:14 AM To: Robot-Will/Stino Stino@noreply.github.com Cc: KurtE kurte@rockisland.com; Author author@noreply.github.com Subject: Re: [Robot-Will/Stino] Problem nistalling ESP32 support (#435)
Follow the steps to install Esp8266 boards:
ESP8266 Community: http://arduino.esp8266.com/stable/package_esp8266com_index.json
Generic ESP8266 modules Olimex MOD-WIFI-ESP8266 NodeMCU 0.9 (ESP-12) NodeMCU 1.0 (ESP-12E) Adafruit HUZZAH ESP8266 (ESP-12) SparkFun Thing SweetPea ESP-210 WeMos D1 WeMos D1 mini
{ "arduino": "http://downloads.arduino.cc/packages/package_index.json", "arduino_lib": "http://downloads.arduino.cc/libraries/library_index.json", "esp8266": "http://arduino.esp8266.com/stable/package_esp8266com_index.json" }
Thanks.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Robot-Will/Stino/issues/435#issuecomment-294160595 , or mute the thread https://github.com/notifications/unsubscribe-auth/ABfGQAKU1-B-GrNUX6XolRlrj2r1wT2Aks5rv388gaJpZM4M9wrC .
Quick update,
Appears to be working better on MAC. Will try to cleanup on Window machine and try again.
Wondering if the issue on Windows is that earlier I edit my Arduino preferences for boards to include: , https://raw.githubusercontent.com/sparkfun/Arduino_Boards/master/IDE_Board_Manager/package_sparkfun_index.json
And with the Arduino IDE, if you go to tools->board->board manager, there is now an option to install Sparkfuns ESP... support...
Quick FYI - The board I have is the ESP-WROOM-32 chip and not the ESP8266, so the above platform does not work with it.
I am able to program it using the IDE I mentioned in the first posting.
I too am struggling to get the esp32 (m5stack) working in stino. It works fine in arduino but I can't get a esp32 menu in stino. Please advise.
I wanted to try out some stuff on an ESP32 board.
So I install support to Arduino for this following the instructions up at: https://github.com/espressif/arduino-esp32
I tried it both on Windows 10 and now on a MAC following the instructions at: https://github.com/espressif/arduino-esp32#instructions-for-mac
I then loaded up an example program (like their hardware example RepeatTimer). I choose the ESP32 Dev Module as the board type and Arduino completed the build.
I then tried doing the build using Stino. I selected the Platform: Sketch book => espressif I selected the board : ESP32 Dev Module and tried to do a build
It fails on both machines: Messages on Windows:
Not sure if the Console helps: