mirror of
https://github.com/Klipper3d/klipper.git
synced 2025-11-01 19:05:56 +01:00
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:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user