CHERTS / esp8266-devkit

Unofficial Development Kit for Espressif ESP8266
http://www.programs74.ru
GNU General Public License v3.0
261 stars 100 forks source link

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') #3

Closed Smith1966 closed 9 years ago

Smith1966 commented 9 years ago

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

CHERTS commented 9 years ago

What an example of such a error?

Smith1966 commented 9 years ago

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.

fvpalha commented 9 years ago

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

MrZANE42 commented 9 years ago

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