ESP8266 NONOS SDK V2.0.0 编译出现的问题

liding
Posts: 6
Joined: Mon Nov 02, 2015 3:50 pm

ESP8266 NONOS SDK V2.0.0 编译出现的问题

Postby liding » Thu Nov 03, 2016 11:06 am

我之前的工程是ESP8266 NONOS SDK V1.5.3,当使用ESP8266 NONOS SDK V2.0.0工程的时候,我移植了同样的代码,
但是在SDK V2.0.0工程下编译则出现如下的错误:

eagle/debug/lib/libxlinkv2.a -Wl,--end-group -o .output/eagle/debug/image/eagle.app.v6.out
/opt/xtensa-lx106-elf/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld: .output/eagle/debug/image/eagle.app.v6.out section `.text' will not fit in region `iram1_0_seg'
collect2: error: ld returned 1 exit status
make: *** [.output/eagle/debug/image/eagle.app.v6.out] Error 1

哪位大神知道怎么修改配置,好让之前的代码能编译通过,多谢!

delong_z
Posts: 11
Joined: Fri Jan 23, 2015 4:11 pm

Re: ESP8266 NONOS SDK V2.0.0 编译出现的问题

Postby delong_z » Thu Nov 03, 2016 3:38 pm

意思是分配的空间不够。

修改 /ld/eagle.app.v6.new.xxxx.appx.ld 中

iram1_0_seg : org = 0x40100000, len = 0x8000

把 0x8000 改大 比如 0x10000

Who is online

Users browsing this forum: No registered users and 59 guests