From 4a5b6fc190c00de28c6855dcea97da36bae36c3b Mon Sep 17 00:00:00 2001 From: Valeriy Koval Date: Tue, 3 Feb 2015 14:24:59 +0200 Subject: [PATCH] Implement STM32 platform with support for Discovery boards --- platformio/builder/scripts/stm32.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/platformio/builder/scripts/stm32.py b/platformio/builder/scripts/stm32.py index 56ce6b7b..38b3af25 100644 --- a/platformio/builder/scripts/stm32.py +++ b/platformio/builder/scripts/stm32.py @@ -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( ASFLAGS=[ "-mfloat-abi=hard", @@ -117,7 +117,6 @@ CORELIBS = env.ProcessGeneral() # target_elf = env.BuildFirmware(CORELIBS + ["c", "gcc", "m", "nosys"]) -print(target_elf) # # Target: Build the .bin file