someburner / esp-rfm69

Driver + Interface for RFM69 on ESP8266
Other
24 stars 12 forks source link

section `.text' will not fit in region `iram1_0_seg' #4

Closed mharizanov closed 8 years ago

mharizanov commented 8 years ago

Hi, great work, I've been doing similar project myself, this is much more advanced though. Decided to give it a try, but can't get it to compile; Pointers to fixing this?

/home/mharizanov/esp-open-sdk/xtensa-lx106-elf/bin/xtensa-lx106-elf-ar: creating .output/eagle/debug/lib/spiffs.a /home/mharizanov/esp-open-sdk/xtensa-lx106-elf/lib/gcc/xtensa-lx106-elf/4.8.5/../../../../xtensa-lx106-elf/bin/ld: .output/eagle/debug/image/eagle.app.v6.out section .text' will not fit in regioniram1_0_seg'

someburner commented 8 years ago

Anything after 1.5.2 (I think) Espressif made more use of IRAM and I had to revert some of the attributes. Let me know what version SDK you're using and I'll make a quick edit

mharizanov commented 8 years ago

Running 1.5.4

someburner commented 8 years ago

Try the new branch I just made: https://github.com/someburner/esp-rfm69/tree/sdk-1.5.3%2B

I haven't tested it, but it should work. Uart will be slower, but probably not noticeably so.

mharizanov commented 8 years ago

It compiled, thanks. I'll give it a try now.