riscv: add I2C support for the SiFive HiFive1 Rev B board

This commit is contained in:
Yannis Huber
2020-04-01 13:04:25 +02:00
committed by GitHub
parent 62e78c0a26
commit 6e86daa95e
4 changed files with 159 additions and 1 deletions
+6
View File
@@ -51,3 +51,9 @@ const (
SPI1_MOSI_PIN = D11
SPI1_MISO_PIN = D12
)
// I2C pins
const (
I2C0_SDA_PIN = D18
I2C0_SCL_PIN = D19
)