From 6ae6aaf71179ef1a57dde9c7d3b0b2efb3baf05d Mon Sep 17 00:00:00 2001 From: JamesH1978 <87171443+JamesH1978@users.noreply.github.com> Date: Sat, 31 Dec 2022 23:26:30 +0000 Subject: [PATCH] board_defs: Add Fysetc Cheetah V2 to spi_flash (#5952) As discussed with user HiitsameAsh on discord, he has confirmed this addition will flash a Fysetc Cheetah V2 Signed-off-by: James Hartley --- scripts/spi_flash/board_defs.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/scripts/spi_flash/board_defs.py b/scripts/spi_flash/board_defs.py index 51ff276d..e136c7d9 100644 --- a/scripts/spi_flash/board_defs.py +++ b/scripts/spi_flash/board_defs.py @@ -110,6 +110,12 @@ BOARD_DEFS = { 'mcu': "stm32f405xx", 'spi_bus': "spi1", "cs_pin": "PA4" + }, + 'fysetc-cheetah': { + 'mcu': "stm32f401xc", + 'spi_bus': "spi1", + "cs_pin": "PA4", + "current_firmware_path": "OLD.BIN" } } @@ -151,6 +157,7 @@ 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-cheetah-v2': BOARD_DEFS['fysetc-cheetah'], 'fysetc-spider-v1': BOARD_DEFS['fysetc-spider'], 'fysetc-s6-v1.2': BOARD_DEFS['fysetc-spider'], 'fysetc-s6-v2': BOARD_DEFS['fysetc-spider'],