-
Notifications
You must be signed in to change notification settings - Fork 230
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
A little how to use section in the readme would be nice #10
Comments
Hmm... It does already map as a keyboard + mouse. You would have to modify it to say it only has one interface and select just the keyboard interface to make it keyboard only. To really "get" user/usb_config.h you'll have to read up a good bit about USB descriptors. The IP parameter sets the parameter for where the netburn system expects the ESP8266. You use the web-based configuration to set the ESP's network information, i.e. if it is a softap or if it is connected to an infrastructure. |
Oh, I didn't realize that it would map as keyboard+mouse by default. I thought this was just a general USB library. It might be a good idea to put that information into the readme file. And about netburn: How do I make my esp8266 work with that? It's currently running nodemcu, I don't think it understands netburn. Do I have to do a netburn or can I just do a burn to a serial port? |
Netburn only works with esp82xx projects, once you serial-burn the firmware once, you can netburn every time thereafter. |
I have tried to get it to work for over a week now and I'm starting to think that you use an old version of the sdk or something? I successfully got the toolchain to work within a docker image: https://github.com/T-vK/docker-esp-open-sdk/blob/master/Dockerfile But that's only a build environment, I have no idea how I would pass a serial port through to the image. So I digged up the official documentation that espressif provides and found that they provide a VM image that has the toolchain preinstaled (http://bbs.espressif.com/download/file.php?id=1450). I just had to add the SDK to Now here is what I did:
The result of that last command:
So I set the shell variable for the command by running
Okay, now that is really weird. Accoring to espressif the xtensa-lx106-elf should be in /opt. And sure enough it was preinstalled in /opt/xtensa-lx106-elf.
What is wrong here? There are so many issues. How hard can it be to get this to work? |
Whoops! Forgot to take out the refernce. git pull. Try agian. |
Still not working. :/
|
Yes, looks like SDK version is too new. I think it must be 1.5.2 or older. See what version is currently in use in the ESP8266_NONOS_SDK, and make sure to download 1.5.2 or older. |
Yeah, I'm using 2.0... @cnlohr Any idea when you'll upgrade to 2.0? A mention of the 1.5.2/1.5.4 requirement might be even more important than the how to use section in the readme. |
@T-vK Hi you can refer to this issue on document about this: EDIT: Btw this tutorial is slightly outdated since it is a different GPIO pinout and espusb is now using esp82xx. I'll probably write out a tutorial on it after working on a few more things for espusb. But essentially you probably just need to change a few lines here and there and the GPIO pinouts only and it'll work. |
@leopck Thank you. That helped a lot! Remember that esp-open-sdk already takes care of downloading the sdk. That makes your wget redundant. For anyone reading this who doesn't feel like bloating your system with all these dependencies. I created an executable docker image that can easily compile and flash your stuff. https://github.com/T-vK/docker-esp-sdk |
I have a very hard time understanding how to use your project.
I just want to make my ESP8266 act as a USB keyboard.
And the file
user/usb_config.h
makes me think that the implementation for this does exist.It would be really nice if you could add a little section to the readme explaining what user.cfg is all about and what to do in order to get the ESP8266 to act as the desired device.
At the moment I'm just very confused. I mean what do the variables in user.cfg even do? If the
IP
for example doesn't set the IP address for the ESP8266, then what does it do?Best regards
tvk
PS: I love your work!
The text was updated successfully, but these errors were encountered: