mirror of https://github.com/meshcore-dev/MeshCore
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
10 lines
298 B
10 lines
298 B
Import("env")
|
|
|
|
# Make custom HEX from ELF
|
|
env.AddPostAction(
|
|
"$BUILD_DIR/${PROGNAME}.elf",
|
|
env.VerboseAction(" ".join([
|
|
"$OBJCOPY", "-O", "ihex", "-R", ".eeprom",
|
|
'"$BUILD_DIR/${PROGNAME}.elf"', '"$BUILD_DIR/${PROGNAME}.hex"'
|
|
]), "Building $BUILD_DIR/${PROGNAME}.hex")
|
|
)
|