Skip to content

Commit 8333c17

Browse files
committed
hifive1-qemu: fix compile error and add smoke test
This probably got broken with this PR: #976
1 parent b8f5627 commit 8333c17

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -214,6 +214,8 @@ smoketest:
214214
# test simulated boards on play.tinygo.org
215215
$(TINYGO) build -o test.wasm -tags=arduino examples/blinky1
216216
@$(MD5SUM) test.wasm
217+
$(TINYGO) build -o test.wasm -tags=hifive1-qemu examples/serial
218+
@$(MD5SUM) test.wasm
217219
$(TINYGO) build -o test.wasm -tags=hifive1b examples/blinky1
218220
@$(MD5SUM) test.wasm
219221
$(TINYGO) build -o test.wasm -tags=reelboard examples/blinky1

src/runtime/runtime_tinygoriscv_qemu.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// +build tinygo.riscv,qemu
1+
// +build tinygo.riscv,virt,qemu
22

33
package runtime
44

0 commit comments

Comments
 (0)