mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-21 04:49:04 +00:00
machine/hifive1b: fix compiling in simulation (wasm)
This commit is contained in:
committed by
Ron Evans
parent
46d468b79d
commit
66ed03faa2
@@ -0,0 +1,12 @@
|
||||
// +build fe310,hifive1b
|
||||
|
||||
package machine
|
||||
|
||||
import "device/sifive"
|
||||
|
||||
// SPI on the HiFive1.
|
||||
var (
|
||||
SPI1 = SPI{
|
||||
Bus: sifive.QSPI1,
|
||||
}
|
||||
)
|
||||
Reference in New Issue
Block a user