Git Product home page Git Product logo

Comments (2)

leopck avatar leopck commented on September 3, 2024

Hey I think I can help answer this, I got it to work by installing the esp-open-sdk and esp-iot-sdk_v1.5.1. You can follow the installation instructions from this link: https://github.com/pfalcon/esp-open-sdk
In fact, my instructions below is just from their website, except a few addition below.

I used Ubuntu 16.04, so the installation

$ sudo apt-get install make unrar autoconf automake libtool gcc g++ gperf \
    flex bison texinfo gawk ncurses-dev libexpat-dev python-dev python python-serial \
    sed git unzip bash help2man wget bzip2

Later Debian/Ubuntu versions may require:

$ sudo apt-get install libtool-bin

Create an esp8266 folder, just to be neat:

mkdir ~/esp8266/
cd ~/esp8266/

Git clone the esp-open-sdk and make it:

git clone --recursive https://github.com/pfalcon/esp-open-sdk.git
cd esp-open-sdk/
make
cd ..

Download the ESP8266 nonos sdk v1.5.1 from espressif:

wget --content-disposition "http://bbs.espressif.com/download/file.php?id=1046"
unzip ESP8266_NONOS_SDK_V1.5.1_16_01_08.zip

Git clone espusb to esp8266 folder and then modify the Makefile to your configuration:

git clone https://github.com/cnlohr/espusb.git
cd espusb
vi Makefile

EDIT: Find and change the following configuration to your settings:

GCC_FOLDER:=~/esp8266/esp-open-sdk/xtensa-lx106-elf
ESPTOOL_PY:=~/esp8266/esp-open-sdk/esptool/esptool.py
SDK:=/home/<username>/esp8266/esp_iot_sdk_v1.5.1 #Full path is needed otherwise won't compile
PORT:=/dev/ttyUSB0 #Location of your ESP8266

XTGCCLIB:=$(GCC_FOLDER)/lib/gcc/xtensa-lx106-elf/4.8.5/libgcc.a

Save & Quit

Make espusb and flash it to ESP8266:

make
make burn

Done, it should compile and burn into ESP8266 nicely.

As for hardware(Low speed configuration, 1.5Mbits)

v3

cnlohr is working hard now to enable USB Full speed implementation (12 MBit/s), the hardware will be slightly different.

Hope this helps :) Happy hacking.

P.S I haven't tested on other versions besides esp_iot_sdk v1.5.1 and v2.0 but I did not succeed in compiling in v2.0 probably if you succeed, you can share how you did it here :D

EDIT: added gcc version change from 4.8.2 to 4.8.5 and added full path for SDK

EDIT2: SDK v1.5.4 is also okay.

from espusb.

probonopd avatar probonopd commented on September 3, 2024

Thank you very much!

from espusb.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.