Search found 2 matches

by kenjican
Sat Mar 23, 2019 5:27 am
Forum: ESP-IDF
Topic: while compiling micropython , A fatal error: invalid segment count 25 (max 16)
Replies: 2
Views: 3232

Re: while compiling micropython , A fatal error: invalid segment count 25 (max 16)

Thanks Angus. I've check esptool source code. Error comes from this function : def verify(self) at line 1367, it means segment length is more than 16... Could you please tell me how to make the segment length less then 16? The linker script links redundant obj files?
by kenjican
Fri Mar 22, 2019 3:10 am
Forum: ESP-IDF
Topic: while compiling micropython , A fatal error: invalid segment count 25 (max 16)
Replies: 2
Views: 3232

while compiling micropython , A fatal error: invalid segment count 25 (max 16)

Detailed error message as below: GEN build/esp32.common.ld LINK build/application.elf text data bss dec hex filename 843420 214080 27868 1085368 108fb8 build/application.elf Create build/application.bin esptool.py v2.6 A fatal error occurred: Invalid segment count 25 (max 16). Usually this indicates...