Skip to content

Instantly share code, notes, and snippets.

Last active September 15, 2015 11:28
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
What would you like to do?
Diffs on installed Arduino, to compile ucglib port
--- tools/sdk/ld/ 2015-09-13 11:05:37.742179473 -0400
+++ tools/sdk/ld/ 2015-09-13 11:06:26.086178894 -0400
@@ -155,7 +155,7 @@
*.cpp.o(.literal*, .text*)
*libm.a:(.literal .text .literal.* .text.*)
*libsmartconfig.a:(.literal .text .literal.* .text.*)
- *(.irom0.literal .irom.literal .irom.text.literal .irom0.text .irom.text)
+ *(.irom0.literal .irom.literal .irom.text.literal .irom0.text .irom.text .irom.text.*)
_irom0_text_end = ABSOLUTE(.);
_flash_code_end = ABSOLUTE(.);
} >irom0_0_seg :irom0_0_phdr
--- platform.txt.orig 2015-09-13 13:04:24.910094158 -0400
+++ platform.txt 2015-09-15 07:26:29.864268373 -0400
@@ -21,7 +21,7 @@
compiler.S.flags=-c -g -x assembler-with-cpp -MMD
-compiler.c.elf.flags=-g -Os -nostdlib -Wl,--no-check-sections -u call_user_start -Wl,-static "-L{compiler.sdk.path}/lib" "-L{compiler.sdk.path}/ld" "-T{build.flash_ld}" -Wl,-wrap,system_restart_local -Wl,-wrap,register_chipv6_phy
+compiler.c.elf.flags=-g -Os -nostdlib -Wl,--gc-sections -Wl,--no-check-sections -u call_user_start -Wl,-static "-L{compiler.sdk.path}/lib" "-L{compiler.sdk.path}/ld" "-T{build.flash_ld}" -Wl,-wrap,system_restart_local -Wl,-wrap,register_chipv6_phy
compiler.c.elf.libs=-lm -lgcc -lhal -lphy -lnet80211 -llwip -lwpa -lmain -lpp -lsmartconfig -lwps -lcrypto
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment