加入hilinksdk编译产生bss' is not within region `dram0_0_seg

leung
Posts: 2
Joined: Mon Aug 12, 2019 2:02 pm

加入hilinksdk编译产生bss' is not within region `dram0_0_seg

Postby leung » Mon Aug 12, 2019 4:03 pm

在使用ESP8266_RTOS_2.0中加入华为hilink sdk编译产生以下错误:

/opt/xtensa-lx106-elf/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld: address 0x40000e90 of .output/eagle/debug/image/eagle.app.v6.out section `.bss' is not within region `dram0_0_seg'
/opt/xtensa-lx106-elf/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld: address 0x40000e90 of .output/eagle/debug/image/eagle.app.v6.out section `.bss' is not within region `dram0_0_seg'
collect2: error: ld returned 1 exit status

我应该怎么做?可以改大dram0_0_seg吗?
MEMORY
{
dport0_0_seg : org = 0x3FF00000, len = 0x10
dram0_0_seg : org = 0x3FFE8000, len = 0x18000
iram1_0_seg : org = 0x40100000, len = 0x8000
irom0_0_seg : org = 0x40201010, len = 0x6B000
}

Who is online

Users browsing this forum: No registered users and 6 guests