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 <denniskuehn@online.de>
This commit is contained in:
Dennis Kühn 2023-06-29 17:42:07 +02:00 committed by GitHub
parent e62929fe2f
commit a96608add4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 1 deletions

View File

@ -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():