Implement STM32 platform with support for Discovery boards

This commit is contained in:
Valeriy Koval
2015-02-03 14:24:59 +02:00
parent f176fe759d
commit 4a5b6fc190

View File

@ -77,7 +77,7 @@ env.Append(
] ]
) )
if (env.get("BOARD_OPTIONS", {}).get("build", {}).get("mcu")[-2:] == "m4"): if env.get("BOARD_OPTIONS", {}).get("build", {}).get("mcu")[-2:] == "m4":
env.Append( env.Append(
ASFLAGS=[ ASFLAGS=[
"-mfloat-abi=hard", "-mfloat-abi=hard",
@ -117,7 +117,6 @@ CORELIBS = env.ProcessGeneral()
# #
target_elf = env.BuildFirmware(CORELIBS + ["c", "gcc", "m", "nosys"]) target_elf = env.BuildFirmware(CORELIBS + ["c", "gcc", "m", "nosys"])
print(target_elf)
# #
# Target: Build the .bin file # Target: Build the .bin file