Move "energia-dependent" linker entry to Energia framework

This commit is contained in:
Valeriy Koval
2015-02-03 14:12:56 +02:00
parent 6acc183111
commit 2c51c2928a
2 changed files with 5 additions and 1 deletions

View File

@ -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
#

View File

@ -69,7 +69,6 @@ env.Append(
"-nostartfiles",
"-nostdlib",
"-Wl,--gc-sections",
"-Wl,--entry=ResetISR",
"-mthumb",
"-mcpu=cortex-m4",
"-mfloat-abi=hard",