Browse Source

hifive1-qemu: fix compile error and add smoke test

This probably got broken with this PR:
https://github.com/tinygo-org/tinygo/pull/976
pull/1039/head
Ayke van Laethem 5 years ago
committed by Ayke
parent
commit
8333c171f4
  1. 2
      Makefile
  2. 2
      src/runtime/runtime_tinygoriscv_qemu.go

2
Makefile

@ -214,6 +214,8 @@ smoketest:
# test simulated boards on play.tinygo.org
$(TINYGO) build -o test.wasm -tags=arduino examples/blinky1
@$(MD5SUM) test.wasm
$(TINYGO) build -o test.wasm -tags=hifive1-qemu examples/serial
@$(MD5SUM) test.wasm
$(TINYGO) build -o test.wasm -tags=hifive1b examples/blinky1
@$(MD5SUM) test.wasm
$(TINYGO) build -o test.wasm -tags=reelboard examples/blinky1

2
src/runtime/runtime_tinygoriscv_qemu.go

@ -1,4 +1,4 @@
// +build tinygo.riscv,qemu
// +build tinygo.riscv,virt,qemu
package runtime

Loading…
Cancel
Save