machine/hifive1b: fix compiling in simulation (wasm)

This commit is contained in:
Ayke van Laethem
2019-10-31 11:43:26 +01:00
committed by Ron Evans
parent 46d468b79d
commit 66ed03faa2
2 changed files with 12 additions and 9 deletions
+12
View File
@@ -0,0 +1,12 @@
// +build fe310,hifive1b
package machine
import "device/sifive"
// SPI on the HiFive1.
var (
SPI1 = SPI{
Bus: sifive.QSPI1,
}
)