mirror of
https://github.com/platformio/platformio-core.git
synced 2025-07-30 01:57:13 +02:00
Implement STM32 platform with support for Discovery boards
This commit is contained in:
@ -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
|
||||||
|
Reference in New Issue
Block a user