Skip to content
  • Josef Gajdusek's avatar
    esp8266: Fix garbage collector by hard-coding stack end address. · 28076f3d
    Josef Gajdusek authored
    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.
    28076f3d