Guides

These guides take you through the steps required to perform specific tasks using TinyGo.

Build from source

Build a development version of TinyGo from source if you want to help improve TinyGo or want to try the latest features.

Using WebAssembly

How to call WebAssembly from JavaScript in a browser.

Linux support

How to use TinyGo to create normal Linux executables.

Tips, Tricks and Gotchas

Tips and tricks for small places. How to write efficient embedded code and avoid common mistakes.

Contributing

Adding support for new chips, fixing bugs, improving the compiler, or otherwise improving the TinyGo project.

IDE Integration

TinyGo has some IDE support. This is how you can configure your IDE to recognize the machine package.

Debugging

Debug TinyGo programs using GDB.

Optimizing binaries

How to improve speed or reduce code size for TinyGo programs.

Tinygo flash errors

Solving common problems when flashing your first TinyGo program.

Porting code to TinyGo

How to port existing code to TinyGo.