esp_iot_2.0 at_sdio编译问题

alon
Posts: 4
Joined: Mon Aug 08, 2016 10:45 am

esp_iot_2.0 at_sdio编译问题

Postby alon » Mon Aug 08, 2016 10:52 am

我使用了esp8266_nonos_sdk_v2.0.0中,example里面的at_sdio进行编译,编译会报错


/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


我使用的参数为 STEP1:1 STEP2:1 STEP3:2 STEP4:0 STEP5:2

这个问题改怎么修改?

ESP_Rubin
Posts: 222
Joined: Wed Jun 29, 2016 11:59 am

Re: esp_iot_2.0 at_sdio编译问题

Postby ESP_Rubin » Mon Aug 08, 2016 4:14 pm

你好,
在sdio_slv.c中,sdio_slave_init(void)前加上ICACHE_FLASH_ATTR

alon
Posts: 4
Joined: Mon Aug 08, 2016 10:45 am

Re: esp_iot_2.0 at_sdio编译问题

Postby alon » Tue Aug 23, 2016 5:44 pm

ESP_Rubin wrote:你好,
在sdio_slv.c中,sdio_slave_init(void)前加上ICACHE_FLASH_ATTR



非常感谢!


Last bumped by alon on Tue Aug 23, 2016 5:44 pm.

Who is online

Users browsing this forum: No registered users and 301 guests