mirror of
https://github.com/platformio/platformio-core.git
synced 2025-07-30 01:57:13 +02:00
Move "energia-dependent" linker entry to Energia framework
This commit is contained in:
@ -33,6 +33,11 @@ env.Append(
|
|||||||
]
|
]
|
||||||
)
|
)
|
||||||
|
|
||||||
|
if env.get("BOARD_OPTIONS", {}).get("build", {}).get("core") == "lm4f":
|
||||||
|
env.Append(
|
||||||
|
LINKFLAGS=["-Wl,--entry=ResetISR"]
|
||||||
|
)
|
||||||
|
|
||||||
#
|
#
|
||||||
# Target: Build Core Library
|
# Target: Build Core Library
|
||||||
#
|
#
|
||||||
|
@ -69,7 +69,6 @@ env.Append(
|
|||||||
"-nostartfiles",
|
"-nostartfiles",
|
||||||
"-nostdlib",
|
"-nostdlib",
|
||||||
"-Wl,--gc-sections",
|
"-Wl,--gc-sections",
|
||||||
"-Wl,--entry=ResetISR",
|
|
||||||
"-mthumb",
|
"-mthumb",
|
||||||
"-mcpu=cortex-m4",
|
"-mcpu=cortex-m4",
|
||||||
"-mfloat-abi=hard",
|
"-mfloat-abi=hard",
|
||||||
|
Reference in New Issue
Block a user