mirror of
https://github.com/meshtastic/firmware.git
synced 2025-09-08 04:28:47 +00:00
20 lines
440 B
Python
Executable File
20 lines
440 B
Python
Executable File
Import("env")
|
|
# 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",
|
|
),
|
|
)
|