mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-16 18:53:29 +00:00
riscv: add I2C support for the SiFive HiFive1 Rev B board
This commit is contained in:
@@ -51,3 +51,9 @@ const (
|
||||
SPI1_MOSI_PIN = D11
|
||||
SPI1_MISO_PIN = D12
|
||||
)
|
||||
|
||||
// I2C pins
|
||||
const (
|
||||
I2C0_SDA_PIN = D18
|
||||
I2C0_SCL_PIN = D19
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user