hifive1-qemu: fix compile error and add smoke test

This probably got broken with this PR:
https://github.com/tinygo-org/tinygo/pull/976
Этот коммит содержится в:
Ayke van Laethem 2020-04-05 18:08:58 +02:00 коммит произвёл Ayke
родитель b8f5627c9f
коммит 8333c171f4
2 изменённых файлов: 3 добавлений и 1 удалений

Просмотреть файл

@ -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

Просмотреть файл

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