Skip to content

`iram1_0_seg' overflowed after upy and sdk update #19

@ulno

Description

@ulno

I just upgraded to micropython github head and have trouble compiling the ota enabled version.
I managed to compile boot8266 after commenting several lines in etshal.h (which were reported as doubly defined) and then my micropython compilations ends with:

xtensa-lx106-elf-ld -nostdlib -T./ota.ld -gc-sections -Map=ota.elf.map --cref -o ota.elf ota.o main.o ets_alt_task.o -L/home/ulno/unison/devel/ulnoiot/.local/external/firmware/esp-open-sdk/xtensa-lx106-elf/xtensa-lx106-elf/sysroot/usr/lib -L. -laxtls -lmain -lnet80211 -lwpa -llwip_open -lpp -lphy -lnet80211 -lgcc
xtensa-lx106-elf-ld: ota.elf section `.text' will not fit in region `iram1_0_seg'
xtensa-lx106-elf-ld: region `iram1_0_seg' overflowed by 58084 bytes
Makefile:12: recipe for target 'ota.elf' failed
make[1]: *** [ota.elf] Error 1

I updated the sdk first and had to update micropython then to make it compile again, so now I am stuck at gettign OTA running again. Any hint or idea, what is wrong?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions