Comments (2)
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)
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.
Thank you very much!
from espusb.
Related Issues (20)
- node mcu solution
- Any plans to support esp32? HOT 6
- esp8266/esp-open-sdk/sdk/lib/libmain.a Not found HOT 4
- Android app to control the espusb
- USBBURN how to? Error: make: web/execute_reflash: Command not found
- why doesn't it work on newer SDKs?
- The firmware image.elf-0x00000.bin is different when build on PC and laptop HOT 2
- help with HID braille for open source devices for people with disabilities HOT 1
- MSC HOT 1
- Can I use lua with this?
- simpler demos? HOT 1
- Can I aswell use the integrated usb with a usb Micro cable? HOT 1
- Need Help at Antenna Designing HOT 2
- ESP32 Support HOT 1
- How to use custom commands HOT 3
- Can mqtt be used to control the mouse and keyboard? HOT 3
- How it works HOT 1
- Arduino Library HOT 1
- Is there a way to send a "fake" ps3 ps button with this! HOT 1
- are there any files that have been binned HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from espusb.