Merge branch 'feature/add_esp8266_to_components' into 'refactor'

Add esp8266 to components

See merge request sdk/ESP8266_RTOS_SDK!21
This commit is contained in:
Wu Jian Gang
2018-04-08 10:33:55 +08:00
69 changed files with 16 additions and 17 deletions

View File

@ -416,7 +416,8 @@ $(foreach image,$(GEN_IMAGES),$(eval $(call MakeImage,$(basename $(image)))))
INCLUDES := $(INCLUDES) -I $(SDK_PATH)/include -I $(SDK_PATH)/extra_include
INCLUDES += -I $(SDK_PATH)/driver_lib/include
INCLUDES += -I $(SDK_PATH)/include/espressif
INCLUDES += -I $(SDK_PATH)/components/esp8266/include
INCLUDES += -I $(SDK_PATH)/components/esp8266/include/espressif
INCLUDES += -I $(SDK_PATH)/components/lwip/include
INCLUDES += -I $(SDK_PATH)/components/lwip/include/lwip
INCLUDES += -I $(SDK_PATH)/components/lwip/include/lwip/ipv4

13
components/esp8266/README Normal file
View File

@ -0,0 +1,13 @@
README
esp-idf compile and 'AR' user program as target library 'libmain.a', so we should not use
library which is named 'libmain.a'. We use 'libcore.a' instead of it.
As I konwn, you can do following:
1. rename libmain.a to libcore.a
2. change text
"*libmain.a:spi_flash.o(.literal .text .literal.* .text.*)"
to
"*libcore.a:spi_flash.o(.literal .text .literal.* .text.*)"
in file 'eagle.app.v6.common.ld'

View File

@ -94,7 +94,7 @@ SECTIONS
*(.init.literal)
*(.init)
*libfreertos.a:(.literal .text .literal.* .text.*)
*libmain.a:spi_flash.o(.literal .text .literal.* .text.*)
*libcore.a:spi_flash.o(.literal .text .literal.* .text.*)
*(.literal .text .stub .gnu.warning .gnu.linkonce.literal.* .gnu.linkonce.t.*.literal .gnu.linkonce.t.*)
*(.fini.literal)
*(.fini)
@ -216,6 +216,3 @@ SECTIONS
} >iram1_0_seg :iram1_0_phdr
}
/* get ROM code address */
INCLUDE "../ld/eagle.rom.addr.v6.ld"

View File

@ -28,5 +28,3 @@ MEMORY
iram1_0_seg : org = 0x40100000, len = 0x8000
irom0_0_seg : org = 0x40220000, len = 0x5C000
}
INCLUDE "../ld/eagle.app.v6.common.ld"

View File

@ -19,5 +19,3 @@ MEMORY
iram1_0_seg : org = 0x40100000, len = 0x8000
irom0_0_seg : org = 0x40201010, len = 0x6B000
}
INCLUDE "../ld/eagle.app.v6.common.ld"

View File

@ -19,5 +19,3 @@ MEMORY
iram1_0_seg : org = 0x40100000, len = 0x8000
irom0_0_seg : org = 0x40281010, len = 0x6B000
}
INCLUDE "../ld/eagle.app.v6.common.ld"

View File

@ -21,5 +21,3 @@ MEMORY
iram1_0_seg : org = 0x40100000, len = 0x8000
irom0_0_seg : org = 0x40201010, len = 0xE0000
}
INCLUDE "../ld/eagle.app.v6.common.ld"

View File

@ -19,5 +19,3 @@ MEMORY
iram1_0_seg : org = 0x40100000, len = 0x8000
irom0_0_seg : org = 0x40201010, len = 0x2B000
}
INCLUDE "../ld/eagle.app.v6.common.ld"

View File

@ -19,5 +19,3 @@ MEMORY
iram1_0_seg : org = 0x40100000, len = 0x8000
irom0_0_seg : org = 0x40241010, len = 0x2B000
}
INCLUDE "../ld/eagle.app.v6.common.ld"

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.