mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2025-07-24 07:03:55 -06:00
anet_et4_openblt.py => openblt.py
This commit is contained in:
parent
cbf325a6b8
commit
52e8d8db54
3 changed files with 5 additions and 2 deletions
14
buildroot/share/PlatformIO/scripts/openblt.py
Normal file
14
buildroot/share/PlatformIO/scripts/openblt.py
Normal file
|
@ -0,0 +1,14 @@
|
|||
# Generate the firmware as OpenBLT needs
|
||||
|
||||
import os,sys
|
||||
from os.path import join
|
||||
|
||||
Import("env")
|
||||
|
||||
env.AddPostAction(
|
||||
"$BUILD_DIR/${PROGNAME}.elf",
|
||||
env.VerboseAction(" ".join([
|
||||
"$OBJCOPY", "-O", "srec",
|
||||
"\"$BUILD_DIR/${PROGNAME}.elf\"", "\"$BUILD_DIR/${PROGNAME}.srec\""
|
||||
]), "Building " + join("$BUILD_DIR","${PROGNAME}.srec"))
|
||||
)
|
Loading…
Add table
Add a link
Reference in a new issue