Search found 7 matches

by preiter
Sun Aug 21, 2016 1:48 am
Forum: ESP8266 boards
Topic: Adding libraries to the binary image
Replies: 6
Views: 5968

Re: Adding libraries to the binary image

I think I have it figured out now. Modules consisting of a single .py file I just put in the scripts directory. Modules with submodules, like urllib.urequest I put in a subdirectory like urllib/urequest.py. I still can't get urllib.parse to work, but I suspect that library is not working yet. Thanks...
by preiter
Sat Aug 20, 2016 5:59 pm
Forum: ESP8266 boards
Topic: Adding libraries to the binary image
Replies: 6
Views: 5968

Adding libraries to the binary image

I'm trying to add some libraries to my firmware-combined.bin so that I can access them from my code. I'm not sure of the proper procedure. I've been copying files from micropython-lib into the scripts directory. I'm not sure what to copy, just the libraryname.py file? The whole directory? Some libra...
by preiter
Sat Aug 20, 2016 4:45 pm
Forum: ESP8266 boards
Topic: Error building open-sdk
Replies: 5
Views: 4821

Re: Error building open-sdk

Success!

I faked it out by adding a softlink from aclocal-1.14 to aclocal-1.15 in /usr/bin. I had to do the same thing with automake-1.14.
by preiter
Sat Aug 20, 2016 4:57 am
Forum: ESP8266 boards
Topic: Error building open-sdk
Replies: 5
Views: 4821

Re: Error building open-sdk

So it looks like I have aclocal-1.14 installed and the scripts for esp-open-sdk is specifically looking for aclocal-1.15. Aclocal is part of the automake package and I seem to have the latest version available of automake. I'm running on the windows subsystem for linux on Windows 10 which is suppose...
by preiter
Fri Aug 19, 2016 5:16 am
Forum: ESP8266 boards
Topic: Error building open-sdk
Replies: 5
Views: 4821

Error building open-sdk

I'm getting this error building esp-open-sdk... # # configuration written to .config # *********************************************************** Initially reported by: Max Filippov <jcmvbkbc@gmail.com> URL: http://www.esp8266.com/viewtopic.php?f=9&t=224 ********************************************...
by preiter
Thu Aug 11, 2016 8:54 pm
Forum: ESP8266 boards
Topic: Problem compiling esp-open-sdk
Replies: 5
Views: 5674

Re: Problem compiling esp-open-sdk

Just to jump in with an issue I had compiling the SDK. I'm using the new bash shell under Windows 10. [CFG ] checking that generated files are newer than configure... done [CFG ] configure: creating ./config.status [CFG ] config.status: creating Makefile [CFG ] config.status: creating doc/Makefile [...
by preiter
Tue Aug 09, 2016 5:28 pm
Forum: ESP8266 boards
Topic: Working with micropython
Replies: 3
Views: 4376

Working with micropython

Greeting. I'm new to working with micropython, and fairly new to python. I'm more familiar with Arduino. Anyway, I've seen plenty of tutorials about working with microPython on various sites, but they mostly cover just command line interaction. There seems to be a lack of tutorials on developing and...