mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2025-07-18 04:07:55 -06:00
🔨 Fix OpenBLT encode; no-bootloader envs (#24446)
This commit is contained in:
parent
954b4493d2
commit
e94fa7d5dc
3 changed files with 40 additions and 18 deletions
|
@ -10,11 +10,11 @@ if pioutil.is_pio_build():
|
|||
|
||||
board = env.BoardConfig()
|
||||
board_keys = board.get("build").keys()
|
||||
if 'encrypt' in board_keys:
|
||||
if 'encode' in board_keys:
|
||||
env.AddPostAction(
|
||||
join("$BUILD_DIR", "${PROGNAME}.bin"),
|
||||
env.VerboseAction(" ".join([
|
||||
"$OBJCOPY", "-O", "srec",
|
||||
"\"$BUILD_DIR/${PROGNAME}.elf\"", "\"" + join("$BUILD_DIR", board.get("build.encrypt")) + "\""
|
||||
]), "Building $TARGET")
|
||||
"\"$BUILD_DIR/${PROGNAME}.elf\"", "\"" + join("$BUILD_DIR", board.get("build.encode")) + "\""
|
||||
]), "Building " + board.get("build.encode"))
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue