klipper
klipper copied to clipboard
spi_flash: Fix definition for btt-skr-mini-e3-v3
The original config gets an error: "SPIFlashError: Failed to Initialize SD Card." when flashing skr-mini-e3-v3 through UART. Same result with several sd cards with different brands and capacity.
Changing spi_bus to swspi made it work.
Signed-off-by: Nathan Chiu [email protected]
Okay, but it will be necessary to find the root cause of the error. Making changes without understanding the root cause increases the risk of introducing a regression for other users.
-Kevin
Sorry. I've checked the STM32g0b1 pin schematic and the spi1 bus is using the same pins as the SWSPI pins I assigned. But my knowledge about MCU is too limited so I couldn't figure out why using SWSPI instead makes it work. I opened the PR wishing someone could take a look at it... Thanks.
It looks like this GitHub Pull Request has become inactive. If there are any further updates, you can add a comment here or open a new ticket.
Best regards, ~ Your friendly GitIssueBot
PS: I'm just an automated script, not a human being.