summaryrefslogtreecommitdiff
path: root/esp8266/gccollect.c
AgeCommit message (Collapse)Author
2017-07-31all: Use the name MicroPython consistently in commentsAlexander Steffen
There were several different spellings of MicroPython present in comments, when there should be only one.
2016-12-20esp8266: When doing GC be sure to trace the memory holding native code.Damien George
Native code can hold pointers to objects on the heap, eg constant objects like big integers.
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