Comments (10)
If anyone is looking to make this work, I posted a modified version of user_main.c that initializes to Station mode (using a hard-coded SSID and WPA) to the ESP8266 forum.
from espusb.
sorry for double post, i think i found it in esp82xx/fwsrc/commonservices.c with grep but i am afraid of changing something in it.
will try some things :)
from espusb.
You can actually use the normal functions available in esp nonos sdk.
from espusb.
After some reading and google searching i was able to get it to work.
Here i got example codes: https://espressif.com/en/support/explore/sample-codes
Just add the needed code in the file/user/user_main.c under the segment: user_init(void)
i think you can find so less information about the sdk and esp8266, all is just in arduino.
for example i want to build something with the i2C and the sdk for the esp but its so hard to find a working example
from espusb.
Are you an I2C master? If so checkout what I have in wiflier. https://github.com/cnlohr/wiflier/tree/master/espfirmware/user
from espusb.
thank you for that.
i am at the begining of understanding C and how to comdine it will try it :)
from espusb.
Hi @atc1441, the link in your post above to example code doesn't work now, do you have an example of what to add to make the ESP connect to an existing network on startup?
Thanks
from espusb.
Hey. Sorry i need to search for it.
But look into the user init function maybe that helps you
from espusb.
Thanks, when I looked in there I couldn't see anything obvious to change so I'm thinking it'a all new bits to add in there.
from espusb.
If anybody else is trying this then I've found the code examples (previously at https://espressif.com/en/support/explore/sample-codes) here - https://web.archive.org/web/20170202091829/https://espressif.com/en/support/explore/sample-codes
Not sure what to do with them as I've done very little C programming spread very sparsly over a very long time and this is my first attempt at ESP but I'll give it a go.
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.