mirror of
https://github.com/espressif/ESP8266_RTOS_SDK.git
synced 2025-06-17 11:54:24 +08:00
feat(esp8266): rename libmain.a to libcore.a and add README
This commit is contained in:
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.literal)
|
||||||
*(.init)
|
*(.init)
|
||||||
*libfreertos.a:(.literal .text .literal.* .text.*)
|
*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.*)
|
*(.literal .text .stub .gnu.warning .gnu.linkonce.literal.* .gnu.linkonce.t.*.literal .gnu.linkonce.t.*)
|
||||||
*(.fini.literal)
|
*(.fini.literal)
|
||||||
*(.fini)
|
*(.fini)
|
||||||
|
Reference in New Issue
Block a user