Skip to content

Commit c5a8967

Browse files
authored
Seeed WioTerminal support (#1124)
* machine/wioterminal: add support for wioterminal board
1 parent 0c880ec commit c5a8967

File tree

9 files changed

+603
-1
lines changed

9 files changed

+603
-1
lines changed

Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -293,6 +293,8 @@ smoketest:
293293
@$(MD5SUM) test.hex
294294
$(TINYGO) build -size short -o test.hex -target=reelboard-s140v7 examples/blinky1
295295
@$(MD5SUM) test.hex
296+
$(TINYGO) build -size short -o test.hex -target=wioterminal examples/blinky1
297+
@$(MD5SUM) test.hex
296298
ifneq ($(AVR), 0)
297299
$(TINYGO) build -size short -o test.hex -target=atmega1284p examples/serial
298300
@$(MD5SUM) test.hex

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ See the [getting started instructions](https://tinygo.org/getting-started/) for
4343

4444
You can compile TinyGo programs for microcontrollers, WebAssembly and Linux.
4545

46-
The following 32 microcontroller boards are currently supported:
46+
The following 33 microcontroller boards are currently supported:
4747

4848
* [Adafruit Circuit Playground Bluefruit](https://www.adafruit.com/product/4333)
4949
* [Adafruit Circuit Playground Express](https://www.adafruit.com/product/3333)
@@ -72,6 +72,7 @@ The following 32 microcontroller boards are currently supported:
7272
* [Particle Xenon](https://docs.particle.io/datasheets/discontinued/xenon-datasheet/)
7373
* [Phytec reel board](https://www.phytec.eu/product-eu/internet-of-things/reelboard/)
7474
* [PineTime DevKit](https://www.pine64.org/pinetime/)
75+
* [Seeed Wio Terminal](https://www.seeedstudio.com/Wio-Terminal-p-4509.html)
7576
* [SiFIve HiFive1](https://www.sifive.com/boards/hifive1)
7677
* [ST Micro "Nucleo F103RB"](https://www.st.com/en/evaluation-tools/nucleo-f103rb.html)
7778
* [ST Micro STM32F103XX "Bluepill"](http://wiki.stm32duino.com/index.php?title=Blue_Pill)
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
// +build wioterminal
2+
3+
package main
4+
5+
import "machine"
6+
7+
const (
8+
buttonMode = machine.PinInput
9+
buttonPinChange = machine.PinFalling
10+
)

0 commit comments

Comments
 (0)