Hi, i'm struggling with code larger than 4 meg , i modified partition table to :
nvs data nvs 0x9000 0x5000
otadata data ota 0xe000 0x2000
app0 app ota_0 0x10000 0x7AE000
spiffs data spiffs 0x7BE000 0x19000
and changing boards.txt to max upload to 8052736
i get the error:
region `drom0_0_seg' overflowed by 2889588 bytes
Thanks for any help!
8 meg program partition
Re: 8 meg program partition
any ideas?
thanks!
thanks!
-
- Posts: 9729
- Joined: Thu Nov 26, 2015 4:08 am
Re: 8 meg program partition
Aside from the flash partition, allocation is also limited by the address space that exists for the various parts of your program. For instance, on the ESP32, rodata can only be 4MiB or less (if memory serves), so you may be running into that instead.
Who is online
Users browsing this forum: No registered users and 74 guests