Page 1 of 1

esp8266 compiling error

Posted: Thu Aug 22, 2024 11:58 am
by devon_0
I am compiling my code on arduino ide for my esp8266.
when compiling i cam across this error:

Code: Select all

WARNING: library U8glib claims to run on avr, sam architecture(s) and may be incompatible with your current board which runs on esp8266 architecture(s).
c:/users/toshiba/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/3.1.0-gcc10.3-e5f9fec/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: C:\Users\TOSHIBA\AppData\Local\Temp\arduino\sketches\06E6FB26B4FD5162FFD6D036F67EAC43/u8glib_progress_bar.ino.elf section `.irom0.text' will not fit in region `irom0_0_seg'
collect2.exe: error: ld returned 1 exit status

exit status 1

Compilation error: exit status 1

Re: esp8266 compiling error

Posted: Fri Aug 23, 2024 11:01 am
by Inq720
I'll assume your question is, "what does this warning mean?" It is explicitly saying... the library you're using is not compatible with your ESP8266. If you think the library developer is being too conservative, you can brute force it, so the compiler will try to compile it.