flashsd: Add support for chitu-v6 (#6671)

Add flashsd configuration for Tronxy x5sa and other printers based on
Chitu v6 board.

These boards should support sdio (this is what the schematic details),
however I couldn't get this working from a quick try.

Signed-off-by: Bevan Weiss <bevan.weiss@gmail.com>
This commit is contained in:
Bevan Weiss 2024-09-06 06:50:32 +10:00 committed by GitHub
parent 08a1c9f127
commit 14a83103c3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 24 additions and 13 deletions

View file

@ -46,6 +46,7 @@ BOARD_DEFS = {
'mcu': "stm32f103xe",
'spi_bus': "spi2",
"cs_pin": "PA15",
"conversion_script": "scripts/update_mks_robin.py",
"firmware_path": "Robin_e3.bin",
"current_firmware_path": "Robin_e3.cur"
},
@ -133,6 +134,16 @@ BOARD_DEFS = {
'mcu': "stm32g0b1xx",
'spi_bus': "spi1",
"cs_pin": "PB8"
},
'chitu-v6': {
'mcu': "stm32f103xe",
'spi_bus': "swspi",
'spi_pins': "PC8,PD2,PC12",
"cs_pin": "PC11",
#'sdio_bus': 'sdio',
"conversion_script": "scripts/update_chitu.py",
"firmware_path": "update.cbd",
'skip_verify': True
}
}
@ -182,7 +193,8 @@ BOARD_ALIASES = {
'fysetc-s6-v1.2': BOARD_DEFS['fysetc-spider'],
'fysetc-s6-v2': BOARD_DEFS['fysetc-spider'],
'robin_v3': BOARD_DEFS['monster8'],
'btt-skrat-v1.0': BOARD_DEFS['btt-skrat']
'btt-skrat-v1.0': BOARD_DEFS['btt-skrat'],
'chitu-v6': BOARD_DEFS['chitu-v6']
}
def list_boards():