@@ -113,9 +113,8 @@ board = marlin_STM32F407VGT6_CCM
113113board_build.core = stm32
114114board_build.variant = MARLIN_F4x7Vx
115115board_build.ldscript = ldscript.ld
116- board_build.firmware = firmware.srec
116+ board_build.encrypt = firmware.srec
117117# Just openblt.py (not stm32_bootloader.py) generates the file
118- board_build.encrypt = Yes
119118board_build.offset = 0x10000
120119board_upload.offset_address = 0x08010000
121120build_unflags = ${common_stm32.build_unflags} -DUSBCON -DUSBD_USE_CDC -DUSBD_VID =0x0483
@@ -265,7 +264,7 @@ extends = common_stm32
265264board = marlin_STM32F407ZGT6
266265board_build.variant = MARLIN_LERDGE
267266board_build.offset = 0x10000
268- board_build.encrypt = Yes
267+ board_build.encrypt = firmware.bin
269268extra_scripts = ${common.extra_scripts}
270269 pre:buildroot/share/PlatformIO/scripts/generic_create_variant.py
271270 buildroot/share/PlatformIO/scripts/stm32_bootloader.py
@@ -280,9 +279,9 @@ build_unflags = ${common_stm32.build_unflags} -DUSBCON -DUSBD_USE_CDC -DUS
280279# Lerdge X
281280#
282281[env:LERDGEX]
283- platform = ${lerdge_common.platform}
284- extends = lerdge_common
285- board_build.firmware = Lerdge_X_firmware_force.bin
282+ platform = ${lerdge_common.platform}
283+ extends = lerdge_common
284+ board_build.encrypt = Lerdge_X_firmware_force.bin
286285
287286#
288287# Lerdge X with USB Flash Drive Support
@@ -297,9 +296,9 @@ build_flags = ${stm_flash_drive.build_flags} ${lerdge_common.build_flags}
297296# Lerdge S
298297#
299298[env:LERDGES]
300- platform = ${lerdge_common.platform}
301- extends = lerdge_common
302- board_build.firmware = Lerdge_firmware_force.bin
299+ platform = ${lerdge_common.platform}
300+ extends = lerdge_common
301+ board_build.encrypt = Lerdge_firmware_force.bin
303302
304303#
305304# Lerdge S with USB Flash Drive Support
@@ -314,10 +313,10 @@ build_flags = ${stm_flash_drive.build_flags} ${lerdge_common.build_flags}
314313# Lerdge K
315314#
316315[env:LERDGEK]
317- platform = ${lerdge_common.platform}
318- extends = lerdge_common
319- board_build.firmware = Lerdge_K_firmware_force.bin
320- build_flags = ${lerdge_common.build_flags} -DLERDGEK
316+ platform = ${lerdge_common.platform}
317+ extends = lerdge_common
318+ board_build.encrypt = Lerdge_K_firmware_force.bin
319+ build_flags = ${lerdge_common.build_flags} -DLERDGEK
321320
322321#
323322# Lerdge K with USB Flash Drive Support
@@ -347,8 +346,6 @@ board_build.core = stm32
347346board_build.variant = MARLIN_F446VE
348347board_build.ldscript = ldscript.ld
349348board_build.offset = 0x0000
350- board_build.encrypt = No
351- board_build.firmware = firmware.bin
352349extra_scripts = ${common.extra_scripts}
353350 pre:buildroot/share/PlatformIO/scripts/generic_create_variant.py
354351 buildroot/share/PlatformIO/scripts/stm32_bootloader.py
@@ -365,7 +362,6 @@ board = genericSTM32F407VET6
365362board_build.core = stm32
366363board_build.variant = MARLIN_F4x7Vx
367364board_build.ldscript = ldscript.ld
368- board_build.firmware = firmware.bin
369365board_build.offset = 0x0000
370366board_upload.offset_address = 0x08000000
371367build_unflags = ${common_stm32.build_unflags} -DUSBCON -DUSBD_USE_CDC
@@ -392,7 +388,7 @@ board = marlin_STM32F407VGT6_CCM
392388board_build.core = stm32
393389board_build.variant = MARLIN_F4x7Vx
394390board_build.ldscript = ldscript.ld
395- board_build.firmware = Robin_nano_v3.bin
391+ board_build.rename = Robin_nano_v3.bin
396392board_build.offset = 0xC000
397393board_upload.offset_address = 0x0800C000
398394build_unflags = ${common_stm32.build_unflags}
0 commit comments