Split posts which were offtopic for the original thread

All ESP8266 boards running MicroPython.
Official boards are the Adafruit Huzzah and Feather boards.
Target audience: MicroPython users with an ESP8266 board.
Post Reply
User avatar
Ivoah
Posts: 5
Joined: Wed Mar 02, 2016 10:43 pm

Split posts which were offtopic for the original thread

Post by Ivoah » Wed Mar 30, 2016 12:03 am

pfalcon wrote:(this will of course any settings like configured access points too).
I think you accidentally a word. ;)

User avatar
pythoncoder
Posts: 5956
Joined: Fri Jul 18, 2014 8:01 am
Location: UK
Contact:

Re: Building ESP8266 port - tips and tricks

Post by pythoncoder » Wed Mar 30, 2016 5:37 am

pfalcon wrote:...I personally do recommend everyone to start building and playing with it..
I'd love to, but I'm still waiting for hardware :( Adafruit Huzzah boards seem to be hewn from ingots of weapons-grade unobtanium.
Peter Hinch
Index to my micropython libraries.

User avatar
deshipu
Posts: 1388
Joined: Thu May 28, 2015 5:54 pm

Re: Building ESP8266 port - tips and tricks

Post by deshipu » Wed Mar 30, 2016 8:11 am

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.
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.

gojimmypi
Posts: 36
Joined: Wed Mar 02, 2016 8:01 pm
Contact:

Re: Building ESP8266 port - tips and tricks

Post by gojimmypi » Wed Mar 30, 2016 7:37 pm

deshipu wrote:
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.
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.
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)

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

User avatar
jgriessen
Posts: 191
Joined: Mon Sep 29, 2014 4:20 pm
Contact:

Re: Building ESP8266 port - tips, tricks, and updates

Post by jgriessen » Fri Apr 01, 2016 9:58 pm

I'd love to, but I'm still waiting for hardware
These http://www.sweetpeas.se/18-controller-modules cost $9 and shipping is $4 I think. Several would fit in an envelope.
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

User avatar
pythoncoder
Posts: 5956
Joined: Fri Jul 18, 2014 8:01 am
Location: UK
Contact:

Re: Building ESP8266 port - tips, tricks, and updates

Post by pythoncoder » Wed Apr 06, 2016 10:24 am

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:

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$ 
Any thoughts?
Peter Hinch
Index to my micropython libraries.

User avatar
platforma
Posts: 258
Joined: Thu May 28, 2015 5:08 pm
Location: Japan

Re: Building ESP8266 port - tips, tricks, and updates

Post by platforma » Wed Apr 06, 2016 10:38 am

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.

User avatar
pythoncoder
Posts: 5956
Joined: Fri Jul 18, 2014 8:01 am
Location: UK
Contact:

Re: Building ESP8266 port - tips, tricks, and updates

Post by pythoncoder » Wed Apr 06, 2016 12:27 pm

Thanks for that. I commented out the offending line and it built, but I'll grab your commit and install that.
[edit]
Now working :D :D :D
Peter Hinch
Index to my micropython libraries.

Post Reply