aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/spi_flash/board_defs.py
diff options
context:
space:
mode:
authorSasquatch <zajc3w@gmail.com>2025-07-27 17:09:11 +0100
committerGitHub <noreply@github.com>2025-07-27 12:09:11 -0400
commit4a567c8d1050d95ea22019545877715b842fa1b3 (patch)
tree0b0898ed6a93360a40f77ec9eeec93d19ab29344 /scripts/spi_flash/board_defs.py
parent60879fd298fe3b4f3dda63561e6a1c9bdc5ee9af (diff)
downloadkutter-4a567c8d1050d95ea22019545877715b842fa1b3.tar.gz
kutter-4a567c8d1050d95ea22019545877715b842fa1b3.tar.xz
kutter-4a567c8d1050d95ea22019545877715b842fa1b3.zip
spi_flash: FATFS fix missing long filenames support needed by flash-sdcard.sh (#6981)
enable long file support, needed for boards using swspi and long filenames for firmware like mks robin 1.1/1.2 added MKS robin nano 1.2 board with description what and why Signed-off-by: Leszek Zajac <zajc3w@gmail.com>
Diffstat (limited to 'scripts/spi_flash/board_defs.py')
-rw-r--r--scripts/spi_flash/board_defs.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/scripts/spi_flash/board_defs.py b/scripts/spi_flash/board_defs.py
index bc0c3d57..fe6ec9ab 100644
--- a/scripts/spi_flash/board_defs.py
+++ b/scripts/spi_flash/board_defs.py
@@ -50,6 +50,17 @@ BOARD_DEFS = {
"firmware_path": "Robin_e3.bin",
"current_firmware_path": "Robin_e3.cur"
},
+ # twotrees sapphire 5 v1.1 using mks robin nano 1.2 board
+ 'mks-robin-v12': {
+ 'mcu': "stm32f103xe",
+ 'spi_bus': "swspi",
+ 'spi_pins': "PC8,PD2,PC12",
+ 'cs_pin': "PC11",
+ 'skip_verify': True,
+ "conversion_script": "scripts/update_mks_robin.py",
+ "firmware_path": "ROBIN_NANO35.BIN",
+ "current_firmware_path": "ROBIN_NANO35.BIN"
+ },
'btt-octopus-f407-v1': {
'mcu': "stm32f407xx",
'spi_bus': "swspi",