Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem nistalling ESP32 support #435

Closed
KurtE opened this issue Apr 14, 2017 · 5 comments
Closed

Problem nistalling ESP32 support #435

KurtE opened this issue Apr 14, 2017 · 5 comments

Comments

@KurtE
Copy link

KurtE commented Apr 14, 2017

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:

[Build] C:/Users/kurte/Documents/Arduino/hardware/espressif/esp32/libraries/ESP32/examples/Timer/RepeatTimer...
[Step 1] Check Toolchain.
[Error] Toolchain is not ready. Please build the sketch after the toolchain installation done.

Not sure if the Console helps:

DPI scale: 1
startup, version: 3126 windows x64 channel: stable
executable: /C/Program Files/Sublime Text 3/sublime_text.exe
working dir: /C/Program Files/Sublime Text 3
packages path: /C/Users/kurte/AppData/Roaming/Sublime Text 3/Packages
state path: /C/Users/kurte/AppData/Roaming/Sublime Text 3/Local
zip path: /C/Program Files/Sublime Text 3/Packages
zip path: /C/Users/kurte/AppData/Roaming/Sublime Text 3/Installed Packages
ignored_packages: ["Vintage"]
pre session restore time: 0.292411
startup time: 0.339411
first paint time: 0.339411
first paint time: 0.339411
reloading plugin Default.auto_indent_tag
reloading plugin Default.block
reloading plugin Default.comment
reloading plugin Default.convert_syntax
reloading plugin Default.copy_path
reloading plugin Default.delete_word
reloading plugin Default.detect_indentation
reloading plugin Default.duplicate_line
reloading plugin Default.echo
reloading plugin Default.exec
reloading plugin Default.fold
reloading plugin Default.font
reloading plugin Default.goto_line
reloading plugin Default.history_list
reloading plugin Default.indentation
reloading plugin Default.install_package_control
reloading plugin Default.kill_ring
reloading plugin Default.mark
reloading plugin Default.new_templates
reloading plugin Default.open_context_url
reloading plugin Default.open_in_browser
reloading plugin Default.pane
reloading plugin Default.paragraph
reloading plugin Default.paste_from_history
reloading plugin Default.profile
reloading plugin Default.quick_panel
reloading plugin Default.run_syntax_tests
reloading plugin Default.save_on_focus_lost
reloading plugin Default.scroll
reloading plugin Default.set_unsaved_view_name
reloading plugin Default.settings
reloading plugin Default.show_scope_name
reloading plugin Default.side_bar
reloading plugin Default.sort
reloading plugin Default.swap_line
reloading plugin Default.switch_file
reloading plugin Default.symbol
reloading plugin Default.transform
reloading plugin Default.transpose
reloading plugin Default.trim_trailing_white_space
reloading plugin CSS.css_completions
reloading plugin Diff.diff
reloading plugin HTML.encode_html_entities
reloading plugin HTML.html_completions
reloading plugin 0_package_control_loader.00-package_control
reloading plugin Package Control.1_reloader
reloading plugin Package Control.2_bootstrap
reloading plugin Package Control.Package Control
reloading plugin QuickPanelEnhanced.quick_panel_enhanced
reloading plugin SidebarHoverToggle.sidebar_hover_toggle
reloading plugin Sublimerge 3.Sublimerge
reloading plugin Stino.StinoCommands
plugins loaded
top level value must be an array
Package Control: Skipping automatic upgrade, last run at 2017-04-14 05:31:58, next run at 2017-04-14 06:31:58 or after
@Robot-Will
Copy link
Owner

Robot-Will commented Apr 14, 2017

Follow the steps to install Esp8266 boards:

  1. In this page (https://github.com/arduino/Arduino/wiki/Unofficial-list-of-3rd-party-boards-support-urls) you will find the Esp8266's package index file address:
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
  1. Menu -> Install platform -> Add Package, open the file packages.stino-settings;

  2. 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"
}
  1. 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.

  2. After installation, you will find esp8266 in Menu -> Platform, and you can use it.

Thanks.

@KurtE
Copy link
Author

KurtE commented Apr 14, 2017 via email

@KurtE
Copy link
Author

KurtE commented Apr 14, 2017 via email

@KurtE
Copy link
Author

KurtE commented Apr 15, 2017

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.

@machinehistories
Copy link

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.

@KurtE KurtE closed this as completed Feb 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants