1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-07-30 16:24:09 +03:00

move libm to flash (.irom0.text)

saves 3544 Byte in ram
see #104
This commit is contained in:
Markus Sattler
2015-04-24 21:07:16 +02:00
parent ad74beec4d
commit abdbdb1a5c

View File

@ -153,6 +153,7 @@ SECTIONS
_irom0_text_start = ABSOLUTE(.);
*core_esp8266_*.o(.literal*, .text*)
*.cpp.o(.literal*, .text*)
*libm.a:(.literal .text .literal.* .text.*)
*(.irom0.literal .irom.literal .irom.text.literal .irom0.text .irom.text)
_irom0_text_end = ABSOLUTE(.);
} >irom0_0_seg :irom0_0_phdr