summaryrefslogtreecommitdiff
path: root/esp8266/gccollect.c
AgeCommit message (Collapse)Author
2016-03-08esp8266: Don't gc-collect BSS.Paul Sokolovsky
None of the other ports do, since introduction of mp_state_ctx_t. In the case of current esp8266 port, heap is inside BSS, so scanning it picked up a lot of dead pointers.
2015-05-06esp8266: Fix garbage collector by hard-coding stack end address.Josef Gajdusek
As user_init() is not a true main functions, the stack pointer captured within is not pointing at the base of the stack. This caused gc_collect being called with sp being higher than stack_end, causing integer overflow and crashing as gc tried to scan almost the entire address space.
2015-01-01esp8266: Prefix includes with py/; remove need for -I../py.Damien George
2014-11-27esp8266: New port of Micro Python to ESP8266 wifi module.Damien George