From 5fb5b3afe1fd568a0cb79706268b6a484c0aa850 Mon Sep 17 00:00:00 2001 From: Wilhelm Schuster Date: Mon, 3 May 2021 15:03:45 +0200 Subject: [PATCH] spi_flash: Add board definitions for Fysetc S6 and Spider Signed-off-by: Wilhelm Schuster --- scripts/spi_flash/board_defs.py | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/scripts/spi_flash/board_defs.py b/scripts/spi_flash/board_defs.py index 15b6315b..68385f04 100644 --- a/scripts/spi_flash/board_defs.py +++ b/scripts/spi_flash/board_defs.py @@ -49,6 +49,12 @@ BOARD_DEFS = { 'mcu': "stm32f407xx", 'spi_bus': "spi1", "cs_pin": "PA4" + }, + 'fysetc-spider': { + 'mcu': "stm32f446xx", + 'spi_bus': "spi1", + "cs_pin": "PA4", + "current_firmware_path": "OLD.BIN" } } @@ -80,6 +86,9 @@ BOARD_ALIASES = { 'btt-skr-pro-v1.2': BOARD_DEFS['btt-skr-pro'], 'btt-gtr-v1': BOARD_DEFS['btt-gtr'], 'mks-robin-e3d': BOARD_DEFS['mks-robin-e3'], + 'fysetc-spider-v1': BOARD_DEFS['fysetc-spider'], + 'fysetc-s6-v1.2': BOARD_DEFS['fysetc-spider'], + 'fysetc-s6-v2': BOARD_DEFS['fysetc-spider'] } def list_boards():