summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
5346e2e)
On beaglebone black, the spi devices are spidev0.0, spidev0.1, spidev1.0, spidev1.1 and the existing code tries to open up spidev2.0 when using SPI1. Renumbering fixes this.
# ordered as spiId, sckId, mosiId, misoId
spiPorts = (
# ordered as spiId, sckId, mosiId, misoId
spiPorts = (
- (1, SPI0_SCLK, SPI0_D1, SPI0_D0),
- (2, SPI1_SCLK, SPI1_D1, SPI1_D0),
+ (0, SPI0_SCLK, SPI0_D1, SPI0_D0),
+ (1, SPI1_SCLK, SPI1_D1, SPI1_D0),
)
# ordered as uartId, txId, rxId
)
# ordered as uartId, txId, rxId