mirror of
https://github.com/platformio/platformio-core.git
synced 2025-07-30 01:57:13 +02:00
Update build flags for espressif platform.
This commit is contained in:
@ -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',
|
||||||
|
Reference in New Issue
Block a user