Sign inSign up

hybridgroup/tinygo-all

By hybridgroup

Updated almost 8 years ago

TinyGo environment for compiling to all supported targets: ARM, AVR, and WASM

Image
0

902

hybridgroup/tinygo-all repository overview

TinyGo environment for compiling to all supported targets: ARM, AVR, and WASM

Install:

docker pull hybridgroup/tinygo-arm
git clone https://github.com/aykevl/tinygo.git
cd tinygo

To compile for ARM microcontrollers, such as the BBC:MIcrobit:

docker run --rm -v $(pwd):/src hybridgroup/tinygo-all build -o /src/blinky1.hex -size=short -target=pca10040 examples/blinky1

To compile for AVR microcontrollers, such as the Arduino Uno:

docker run --rm -v $(pwd):/src hybridgroup/tinygo-all build -o /src/blinky1.hex -size=short -target=arduino examples/blinky1

To compile for WebAssembly (WASM):

docker run --rm -v $(pwd):/src hybridgroup/tinygo-all build -o /src/wasm.wasm -target wasm examples/wasm

Tag summary

Content type

Image

Digest

Size

1.1 GB

Last updated

almost 8 years ago

docker pull hybridgroup/tinygo-all