🔨 Consolidate STM32 extra_scripts (#22365)

This commit is contained in:
Scott Lahteine
2021-07-14 19:44:51 -05:00
committed by Scott Lahteine
parent a5459a68a6
commit fef76a76a3
6 changed files with 50 additions and 104 deletions

View File

@ -10,7 +10,7 @@ Import("env")
env.AddPostAction(
join("$BUILD_DIR", "${PROGNAME}.elf"),
env.VerboseAction(" ".join([
"$OBJCOPY", "-O ihex", "$TARGET", # TARGET=.pio/build/fysetc_STM32F1/firmware.elf
"$OBJCOPY", "-O ihex", "$TARGET",
"\"" + join("$BUILD_DIR", "${PROGNAME}.hex") + "\"", # Note: $BUILD_DIR is a full path
]), "Building $TARGET"))