From a96608add40e316f25f15d9c9d1c1fbd86dbbebe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dennis=20K=C3=BChn?= <45981602+ThaoDChan@users.noreply.github.com> Date: Thu, 29 Jun 2023 17:42:07 +0200 Subject: [PATCH] spi_flash: New Board Definition for BTT SKRat V1.0 (#6249) Adds the new BTT SKRat V1.0 controller board to the board_defs for the flash-sdcard.sh tool. The new board definition was tested by me without any errors. Signed-off-by: Dennis Kuehn --- scripts/spi_flash/board_defs.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/scripts/spi_flash/board_defs.py b/scripts/spi_flash/board_defs.py index e95816af..fe2e8c06 100644 --- a/scripts/spi_flash/board_defs.py +++ b/scripts/spi_flash/board_defs.py @@ -116,6 +116,11 @@ BOARD_DEFS = { 'spi_bus': "spi1", "cs_pin": "PA4", "current_firmware_path": "OLD.BIN" + }, + 'btt-skrat': { + 'mcu': "stm32g0b1xx", + 'spi_bus': "spi1", + "cs_pin": "PB8" } } @@ -162,7 +167,8 @@ BOARD_ALIASES = { 'fysetc-spider-v1': BOARD_DEFS['fysetc-spider'], 'fysetc-s6-v1.2': BOARD_DEFS['fysetc-spider'], 'fysetc-s6-v2': BOARD_DEFS['fysetc-spider'], - 'robin_v3': BOARD_DEFS['monster8'] + 'robin_v3': BOARD_DEFS['monster8'], + 'btt-skrat-v1.0': BOARD_DEFS['btt-skrat'] } def list_boards():