I am hitting a limit with too much frozen byte code at link time:
Code: Select all
xtensa-lx106-elf-ld: build/firmware.elf section `.irom0.text' will not fit in region `irom0_0_seg'
xtensa-lx106-elf-ld: region `irom0_0_seg' overflowed by 12592 bytes
Code: Select all
MEMORY
{
dport0_0_seg : org = 0x3ff00000, len = 0x10
dram0_0_seg : org = 0x3ffe8000, len = 0x14000
iram1_0_seg : org = 0x40100000, len = 0x8000
irom0_0_seg : org = 0x40209000, len = 0x87000
}
I see @pfalcon changed the firmware image size to 0x90000 at 3372f69, and there was a subsequent change to set the start of the file system at 3c9510d.
But I am not sure I understand the math that went into these values.
Thanks!