cherts/esp8266-devkit

I got compiler Error in Espressif-ESP8266-DevKit-v2.0.4-x86 (build/app.out section `.text' will not fit in region `iram1_0_seg')

Smith1966 opened this issue · 4 comments

Hi, please help to solve this error "build/app.out section .text' will not fit in regioniram1_0_seg'".

What an example of such a error?

I was trying to modify an eample to use FatFs files (http://elm-chan.org/fsw/ff/ff11.zip Generic) but it happened and I can not use it but with bigger and another source code it is okay.

Hi @Smith1966.
The project FatFs - Generic FAT File System Module is really interesting.
Maybe the ChaN can help you.
Please, keep us updated.

Unless the makefile is constructed so that code is NOT cached to RAM at boot time you need to add the attribute ICACHE_FLASH_ATTR on every function. See how it's done in the examples. Good luck