mirror of
https://github.com/espressif/ESP8266_RTOS_SDK.git
synced 2025-07-15 08:32:42 +08:00
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:
3
Makefile
3
Makefile
@ -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
13
components/esp8266/README
Normal 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'
|
@ -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"
|
@ -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"
|
@ -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"
|
@ -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"
|
@ -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"
|
@ -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"
|
@ -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"
|
BIN
lib/libdriver.a
BIN
lib/libdriver.a
Binary file not shown.
BIN
lib/libespconn.a
BIN
lib/libespconn.a
Binary file not shown.
Binary file not shown.
BIN
lib/libjson.a
BIN
lib/libjson.a
Binary file not shown.
BIN
lib/liblwip.a
BIN
lib/liblwip.a
Binary file not shown.
BIN
lib/libmbedtls.a
BIN
lib/libmbedtls.a
Binary file not shown.
BIN
lib/libmqtt.a
BIN
lib/libmqtt.a
Binary file not shown.
BIN
lib/libnopoll.a
BIN
lib/libnopoll.a
Binary file not shown.
BIN
lib/libopenssl.a
BIN
lib/libopenssl.a
Binary file not shown.
BIN
lib/libspiffs.a
BIN
lib/libspiffs.a
Binary file not shown.
BIN
lib/libssl.a
BIN
lib/libssl.a
Binary file not shown.
Reference in New Issue
Block a user