Update build flags for espressif platform.

This commit is contained in:
Valeriy Koval
2015-12-01 11:21:23 +02:00
parent 9bd1f99b69
commit db42863f54

View File

@ -56,6 +56,8 @@ env.Replace(
"-mtext-section-literals", "-mtext-section-literals",
"-falign-functions=4", "-falign-functions=4",
"-U__STRICT_ANSI__", "-U__STRICT_ANSI__",
"-ffunction-sections",
"-fdata-sections",
"-MMD" # output dependancy info "-MMD" # output dependancy info
], ],
@ -76,9 +78,7 @@ env.Replace(
"-Wl,--no-check-sections", "-Wl,--no-check-sections",
"-u", "call_user_start", "-u", "call_user_start",
"-Wl,-static", "-Wl,-static",
"-Wl,--gc-sections", "-Wl,--gc-sections"
"-Wl,-wrap,system_restart_local",
"-Wl,-wrap,register_chipv6_phy"
], ],
SIZEPRINTCMD='"$SIZETOOL" -B -d $SOURCES', SIZEPRINTCMD='"$SIZETOOL" -B -d $SOURCES',