Skip to content

Commit 682722a

Browse files
renamed digital interfaces pins for JH7110
1 parent c4fe266 commit 682722a

File tree

1 file changed

+4
-4
lines changed
  • src/adafruit_blinka/microcontroller/starfive/JH7110

1 file changed

+4
-4
lines changed

src/adafruit_blinka/microcontroller/starfive/JH7110/pin.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -101,9 +101,9 @@ def value(self, val=None):
101101
SCL = D5
102102

103103
# SPI
104-
MISO = D21
105-
MOSI = D19
106-
SCLK = D23
104+
SPI_MISO = D21
105+
SPI_MOSI = D19
106+
SPI_SCLK = D23
107107

108108
# UART
109109
UART_TX = D8
@@ -113,7 +113,7 @@ def value(self, val=None):
113113
i2cPorts = ((0, SCL, SDA),)
114114

115115
# ordered as spiId, sckId, mosiId, misoId
116-
spiPorts = ((0, SCLK, MOSI, MISO),)
116+
spiPorts = ((0, SPI_SCLK, SPI_MOSI, SPI_MISO),)
117117

118118
# ordered as uartId, txId, rxId
119119
uartPorts = ((0, UART_TX, UART_RX),)

0 commit comments

Comments
 (0)