Meshtastic build manifest (#8248)

This commit is contained in:
Austin
2025-12-08 18:21:23 -05:00
committed by GitHub
parent 5671e9d96f
commit 66ff1536f3
36 changed files with 537 additions and 406 deletions

24
extra_scripts/stm32_extra.py Executable file
View File

@@ -0,0 +1,24 @@
#!/usr/bin/env python3
# trunk-ignore-all(ruff/F821)
# trunk-ignore-all(flake8/F821): For SConstruct imports
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",
),
)