Search found 84 matches

by mianos
Sun Feb 07, 2016 9:05 pm
Forum: ESP8266 boards
Topic: MicroPython on ESP8266 Kickstarter
Replies: 91
Views: 209831

Re: MicroPython on ESP8266 Kickstarter

It looks like the I2C and DHT are going in now. If you do a DHT22, please have a look at mine. Doing the decoding in an interrupt FSM seems to be way way more reliable than polling. I did a bunch of tests and once every few hundred thousand request a line didn't toggle, meaning I had to put all sort...
by mianos
Sun Feb 07, 2016 8:53 pm
Forum: Other Boards
Topic: Robo's esp'ecial ESP8266 fork
Replies: 28
Views: 28615

Re: Robo's esp'ecial ESP8266 fork

Everything working on my web server and client abstraction and boom, now I have written much more python I'm out of RAM for compilation of the python (even reading the python source code from the external ROM with my frozen from irom module). I'm going to have to have a try of the pre-compiled pytho...
by mianos
Fri Feb 05, 2016 11:25 pm
Forum: Development of MicroPython
Topic: help with leaking memory management
Replies: 21
Views: 18017

Re: help with leaking memory management

After running a GC everything was fine until I had another infuriating small leak I couldn't track down. After much grumbling to myself and not touching it for a few days I debugged my way into the GC and found I was getting a little carried away 'interning' http header values. Although the header k...
by mianos
Fri Feb 05, 2016 9:23 pm
Forum: ESP8266 boards
Topic: MicroPython on ESP8266 Kickstarter
Replies: 91
Views: 209831

Re: MicroPython on ESP8266 Kickstarter

Great news. I guess I was right about the ESP8266 all along.
by mianos
Wed Jan 27, 2016 9:06 pm
Forum: Development of MicroPython
Topic: help with leaking memory management
Replies: 21
Views: 18017

Re: help with leaking memory management

dhylands wrote:No -not the general problem, but this is why blocks can't be moved after they've been allocated.
Yep, 100% agree. Unless you have a extra level of indirection, which would mean a lot more work in C.
by mianos
Wed Jan 27, 2016 8:03 pm
Forum: ESP8266 boards
Topic: MicroPython on ESP8266 Kickstarter
Replies: 91
Views: 209831

Re: MicroPython on ESP8266 Kickstarter

You might want my new web server in this. Doing a web server as a module gives you a very highevel abstraction that is super useful for IOT and means you don't need to do sockets at all for a web client and server. Yours for the pulling.
by mianos
Wed Jan 27, 2016 7:56 pm
Forum: Development of MicroPython
Topic: help with leaking memory management
Replies: 21
Views: 18017

Re: help with leaking memory management

The current GC can't move the blocks without also updating all of the pointers which point to the blocks. The real problem is that in the current architecture, there is no way to distinguish a pointer containing the address of a block, and a collection of bytes that just happens to have the same va...
by mianos
Tue Jan 26, 2016 8:52 pm
Forum: Other Boards
Topic: Robo's esp'ecial ESP8266 fork
Replies: 28
Views: 28615

Re: Robo's esp'ecial ESP8266 fork

The lack of RAM is a constant challenge Did you get one of the beta ESP32's? If you are developing a product, I'd like to talk about ideas to better promote my stalled kickstarter for outdoor chip radio sensor molded plastic enclosures. https://www.kickstarter.com/projects/1652064221/hexrad-a-modul...
by mianos
Tue Jan 26, 2016 7:55 am
Forum: Development of MicroPython
Topic: pyboard support esp8266 wifi??
Replies: 3
Views: 4203

Re: pyboard support esp8266 wifi??

Thanks platforma .First of all ,I want to use wipy in my R&D,but i can't to buy the wipy in my Country.So,i want to drive ESP with pyboard. You will want to keep in mind the network API is a it different than the wipy one. Also the networking is not too stable without a few patches. They are in the...
by mianos
Mon Jan 25, 2016 2:17 am
Forum: Other Boards
Topic: Robo's esp'ecial ESP8266 fork
Replies: 28
Views: 28615

Re: Robo's esp'ecial ESP8266 fork

What is it like to call C code from micropython? Seems like you've done that a lot, and being new to this I want to look up How C code is called ( to see how much work it will be to pull in parts of contiki radio networking). It's trivial. Micropython is built for this. You just put the calls into ...