spi_flash: add timestamp to firmware filenames on sdcard upload (#7063)

Some Creality bootloaders skip flashing if the firmware filename is
unchanged. By appending a timestamp to the firmware filename during
sdcard upload, each update generates a unique name, ensuring that
the bootloader always accepts and flashes the new firmware.

Signed-off-by: Sezgin AÇIKGÖZ <sezginacikgoz@mail.com>
This commit is contained in:
Sezgin AÇIKGÖZ
2025-09-30 03:24:13 +03:00
committed by GitHub
parent 184ba4080c
commit a683ef3503
2 changed files with 27 additions and 1 deletions

View File

@@ -123,7 +123,8 @@ BOARD_DEFS = {
'spi_bus': "swspi",
'spi_pins': "PC8,PD2,PC12",
'cs_pin': "PC11",
'skip_verify': True
'skip_verify': True,
'requires_unique_fw_name': True
},
'monster8': {
'mcu': "stm32f407xx",