Skip to content

Commit

Permalink
Boards: fix bad spi pins on EBB SB2240/2209 CAN
Browse files Browse the repository at this point in the history
  • Loading branch information
miklschmidt committed Jun 9, 2024
1 parent 2a2553c commit 6adc314
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 5 deletions.
4 changes: 2 additions & 2 deletions boards/btt-sb-2209-10-stm32/board-definition.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"software": {
"sclk": "PB10",
"mosi": "PB11",
"miso": "PB12"
"miso": "PB2"
}
}
}
}
11 changes: 9 additions & 2 deletions boards/btt-sb-2240-10-stm32/board-definition.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,14 @@
"software": {
"sclk": "PB10",
"mosi": "PB11",
"miso": "PB12"
"miso": "PB2"
}
},
"stepperSPI": {
"software": {
"sclk": "PB10",
"mosi": "PB11",
"miso": "PB2"
}
}
}
}
2 changes: 1 addition & 1 deletion boards/btt-sb-2240-10-stm32/toolboard-config.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,4 @@ serial: /dev/btt-sb2240-10-stm
cs_pin: toolboard:adxl345_cs_pin
spi_software_sclk_pin: toolboard: PB10
spi_software_mosi_pin: toolboard: PB11
spi_software_miso_pin: toolboard: PB12
spi_software_miso_pin: toolboard: PB2

0 comments on commit 6adc314

Please sign in to comment.