Skip to content

Commit abdbdb1

Browse files
committed
move libm to flash (.irom0.text)
saves 3544 Byte in ram see #104
1 parent ad74bee commit abdbdb1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

hardware/tools/esp8266/sdk/ld/eagle.app.v6.ld

+1
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,7 @@ SECTIONS
153153
_irom0_text_start = ABSOLUTE(.);
154154
*core_esp8266_*.o(.literal*, .text*)
155155
*.cpp.o(.literal*, .text*)
156+
*libm.a:(.literal .text .literal.* .text.*)
156157
*(.irom0.literal .irom.literal .irom.text.literal .irom0.text .irom.text)
157158
_irom0_text_end = ABSOLUTE(.);
158159
} >irom0_0_seg :irom0_0_phdr

0 commit comments

Comments
 (0)