Skip to content

Commit c4fe266

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

File tree

1 file changed

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

1 file changed

+7
-7
lines changed

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

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -97,23 +97,23 @@ def value(self, val=None):
9797
D38 = Pin(38)
9898
D40 = Pin(40)
9999
# I2C
100-
I2C_SDA = D3
101-
I2C_SCL = D5
100+
SDA = D3
101+
SCL = D5
102102

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

108108
# UART
109109
UART_TX = D8
110110
UART_RX = D10
111111

112112
# ordered as i2cId, SCL, SDA
113-
i2cPorts = ((0, I2C_SCL, I2C_SDA),)
113+
i2cPorts = ((0, SCL, SDA),)
114114

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

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

0 commit comments

Comments
 (0)