Comments (8)
You guys have no idea how much it excites me to see people actually making this usable!
from espusb.
You need to type make burnweb
so it pushes the new webpage, or you can connect to the ESP, so it's at 192.168.4.1 and type make netweb
and it will push it wirelessly.
from espusb.
Hm.. make burn
seems to be the only command that works for me. :/
I get the following error when running make burnweb
:
Makefile:10: warning: overriding recipe for target 'usbburn'
esp82xx/main.mf:113: warning: ignoring old recipe for target 'usbburn'
make[1]: Entering directory '/home/esp/shared_project/web'
rm -f mfsmaker page.mpfs pushtodev execute_reflash tmp/*
gcc -DICACHE_FLASH -DWEB_PORT=80 -DCOM_PORT=7777 -DBACKEND_PORT=7878 -DSLOWTICK_MS=100 mfsmaker.c -o mfsmaker -lusb-1.0
/usr/bin/ld: cannot find -lusb-1.0
collect2: error: ld returned 1 exit status
Makefile:17: recipe for target 'mfsmaker' failed
make[1]: *** [mfsmaker] Error 1
make[1]: Leaving directory '/home/esp/shared_project/web'
esp82xx/main.mf:98: recipe for target 'burnweb' failed
make: *** [burnweb] Error 2
make netweb
is giving me:
Makefile:10: warning: overriding recipe for target 'usbburn'
esp82xx/main.mf:113: warning: ignoring old recipe for target 'usbburn'
make[1]: Entering directory '/home/esp/shared_project/web'
gcc -DICACHE_FLASH -DWEB_PORT=80 -DCOM_PORT=7777 -DBACKEND_PORT=7878 -DSLOWTICK_MS=100 pushtodev.c -o pushtodev -lusb-1.0
pushtodev.c:17:31: fatal error: libusb-1.0/libusb.h: No such file or directory
compilation terminated.
Makefile:17: recipe for target 'pushtodev' failed
make[1]: *** [pushtodev] Error 1
make[1]: Leaving directory '/home/esp/shared_project/web'
esp82xx/main.mf:109: recipe for target 'netweb' failed
make: *** [netweb] Error 2
The ESP is definitely at 192.168.4.1, but it always responds with:
HTTP/1.1 404 Not Found
Connection: close
File not found.
when I request GET http://192.168.4.1 HTTP/1.1
...
from espusb.
@T-vK I just updated the wiki Getting Started guide with the website part. Give it a try. You can jump directly to Building website (https://github.com/cnlohr/espusb/wiki/Getting-Started-Guide#building-website) then try flashing it again.
from espusb.
I didn't even get to the point where it says "Erase: 1".
But I found out that I was just missing libusb-1.0-0-dev
.
A simple apt-get install libusb-1.0-0-dev
fixed it for me.
I'm not sure if that's in the wiki yet.
I think I'm gonna add the dependency to my docker project, so that it can be used with espusb more conveniently.
I tested all commands except for the usbburn and usbweb is working for me.
(for the usb* commands I'll probably just have to pass the virtual usb device through to my docker image)
And there is no need to cd into the web directory. Just run make netweb
and ignore the fact that it says "Erase: 1" at some point. It will work.
from espusb.
@T-vK alright noted, i'll add the dependency for libusb and change the burning for the website. i forgotten whether i installed libusb but it does sound familiar.
from espusb.
Great. I already added instructions on how to flash the web interface using the docker method to the wiki page. I'll leave the rest for you.
from espusb.
Alright it's done. Added the changes over to the wiki. If we're done then i think we can close this issue.
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.