I think you accidentally a word.pfalcon wrote:(this will of course any settings like configured access points too).
Split posts which were offtopic for the original thread
Split posts which were offtopic for the original thread
- pythoncoder
- Posts: 5956
- Joined: Fri Jul 18, 2014 8:01 am
- Location: UK
- Contact:
Re: Building ESP8266 port - tips and tricks
I'd love to, but I'm still waiting for hardware Adafruit Huzzah boards seem to be hewn from ingots of weapons-grade unobtanium.pfalcon wrote:...I personally do recommend everyone to start building and playing with it..
Peter Hinch
Index to my micropython libraries.
Index to my micropython libraries.
Re: Building ESP8266 port - tips and tricks
Their initial production run was small, so as to test the boards and the interest in them. They do plan to make further runs, but you know how much paperwork and organizing it takes. But I think you can also easily test with one of the dozens of other development boards available for esp8266, as long as they have at least 1MB flash, they would work exactly the same.pythoncoder wrote:I'd love to, but I'm still waiting for hardware Adafruit Huzzah boards seem to be hewn from ingots of weapons-grade unobtanium.
Re: Building ESP8266 port - tips and tricks
I have a board like this that seems to work well: http://www.ebay.com/itm/201542946669 (it has the CP2102, so safe from "FTDI-gate" issues)deshipu wrote:Their initial production run was small, so as to test the boards and the interest in them. They do plan to make further runs, but you know how much paperwork and organizing it takes. But I think you can also easily test with one of the dozens of other development boards available for esp8266, as long as they have at least 1MB flash, they would work exactly the same.pythoncoder wrote:I'd love to, but I'm still waiting for hardware Adafruit Huzzah boards seem to be hewn from ingots of weapons-grade unobtanium.
Also, I put together some instructions on building MicroPython on a Raspberry Pi (likely also works on similar debian distros)
http://forum.micropython.org/viewtopic. ... 9769#p9769
Re: Building ESP8266 port - tips, tricks, and updates
These http://www.sweetpeas.se/18-controller-modules cost $9 and shipping is $4 I think. Several would fit in an envelope.I'd love to, but I'm still waiting for hardware
I tested that they boot up fine with before the kickstarter code, and will be testing the new github code soon.
John
John Griessen blog.kitmatic.com
- pythoncoder
- Posts: 5956
- Joined: Fri Jul 18, 2014 8:01 am
- Location: UK
- Contact:
Re: Building ESP8266 port - tips, tricks, and updates
Thanks to a generous forum member I now have hardware Having trouble building the current firmware, though. I cloned and built the toolchain with apparent success and then got:
Any thoughts?
Code: Select all
adminpete@debian8:~/mp/esp8266$ make
... lines omitted
Generating build/frozen.c
CC build/frozen.c
AS gchelper.s
CC ../stmhal/pybstdio.c
CC ../extmod/modlwip.c
../extmod/modlwip.c: In function 'lwip_socket_setsockopt':
../extmod/modlwip.c:914:14: error: unused variable 'val' [-Werror=unused-variable]
mp_int_t val = mp_obj_get_int(args[3]);
^
cc1: all warnings being treated as errors
../py/mkrules.mk:47: recipe for target 'build/extmod/modlwip.o' failed
make: *** [build/extmod/modlwip.o] Error 1
adminpete@debian8:~/mp/esp8266$
Peter Hinch
Index to my micropython libraries.
Index to my micropython libraries.
Re: Building ESP8266 port - tips, tricks, and updates
Hey pythoncoder,
Since this commit, you should be good to compile again. This was a while ago, so maybe update your local repository to the recent upstream.
Since this commit, you should be good to compile again. This was a while ago, so maybe update your local repository to the recent upstream.
- pythoncoder
- Posts: 5956
- Joined: Fri Jul 18, 2014 8:01 am
- Location: UK
- Contact:
Re: Building ESP8266 port - tips, tricks, and updates
Thanks for that. I commented out the offending line and it built, but I'll grab your commit and install that.
[edit]
Now working
[edit]
Now working
Peter Hinch
Index to my micropython libraries.
Index to my micropython libraries.