Skip to content

Commit a150945

Browse files
committed
getting-started: update tinygo version number for 0.16.0 release
Signed-off-by: deadprogram <[email protected]>
1 parent 81b305d commit a150945

File tree

6 files changed

+20
-20
lines changed

6 files changed

+20
-20
lines changed

content/faq/what-about-esp8266-esp32.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ weight: 5
55

66
As of September 2020, we now have support for the ESP32 and ESP8266 in TinyGo!
77

8-
Please see https://tinygo.org/microcontrollers/esp32 and https://tinygo.org/microcontrollers/esp8266 for more information.
8+
Please see https://tinygo.org/microcontrollers/esp32-mini32 and https://tinygo.org/microcontrollers/esp8266-nodemcu for more information.

content/getting-started/linux.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -28,15 +28,15 @@ You must have Go already installed on your machine in order to install TinyGo. W
2828
If you are using Ubuntu or another Debian based Linux on an Intel processor, download the DEB file from Github and install it using the following commands:
2929

3030
```shell
31-
wget https://github.com/tinygo-org/tinygo/releases/download/v0.15.0/tinygo_0.15.0_amd64.deb
32-
sudo dpkg -i tinygo_0.15.0_amd64.deb
31+
wget https://github.com/tinygo-org/tinygo/releases/download/v0.16.0/tinygo_0.16.0_amd64.deb
32+
sudo dpkg -i tinygo_0.16.0_amd64.deb
3333
```
3434

3535
If you are on a Raspberry Pi or other ARM-based Linux computer, you should use this command instead:
3636

3737
```shell
38-
wget https://github.com/tinygo-org/tinygo/releases/download/v0.15.0/tinygo_0.15.0_arm.deb
39-
sudo dpkg -i tinygo_0.15.0_arm.deb
38+
wget https://github.com/tinygo-org/tinygo/releases/download/v0.16.0/tinygo_0.16.0_arm.deb
39+
sudo dpkg -i tinygo_0.16.0_arm.deb
4040
```
4141

4242
You will need to ensure that the path to the `tinygo` executable file is in your `PATH` variable.
@@ -49,7 +49,7 @@ You can test that the installation is working properly by running this code whic
4949

5050
```shell
5151
$ tinygo version
52-
tinygo version 0.15.0 linux/amd64 (using go version go1.15 and LLVM version 10.0.1)
52+
tinygo version 0.16.0 linux/amd64 (using go version go1.15 and LLVM version 10.0.1)
5353
```
5454

5555
If you are only interested in compiling TinyGo code for WebAssembly then you are now done with the installation.
@@ -214,7 +214,7 @@ This results in a `tinygo` binary in the `build` directory:
214214

215215
```shell
216216
$ ./build/tinygo version
217-
tinygo version 0.15.0 linux/amd64 (using go version go1.15 and LLVM version 10.0.1)
217+
tinygo version 0.16.0 linux/amd64 (using go version go1.15 and LLVM version 10.0.1)
218218
```
219219

220220
### Additional Requirements for Microcontrollers

content/getting-started/macos.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ You can test that the installation is working properly by running this code whic
2828

2929
```shell
3030
$ tinygo version
31-
tinygo version 0.15.0 darwin/amd64 (using go version go1.15 and LLVM version 10.0.1)
31+
tinygo version 0.16.0 darwin/amd64 (using go version go1.15 and LLVM version 10.0.1)
3232
```
3333

3434
If you are only interested in compiling TinyGo code for WebAssembly then you are done with the installation.
@@ -120,7 +120,7 @@ This results in a `tinygo` binary in the `build` directory:
120120

121121
```shell
122122
$ ./build/tinygo version
123-
tinygo version 0.15.0 darwin/amd64 (using go version go1.15 and LLVM version 10.0.1)
123+
tinygo version 0.16.0 darwin/amd64 (using go version go1.15 and LLVM version 10.0.1)
124124
```
125125

126126
### Additional Requirements for Microcontrollers

content/getting-started/using-docker.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ You can use our Docker image to be able to run the TinyGo compiler on your compu
77

88
## Installing
99

10-
docker pull tinygo/tinygo:0.15.0
10+
docker pull tinygo/tinygo:0.16.0
1111

1212
## Using
1313

@@ -16,24 +16,24 @@ For your own code, you will probably want to use absolute paths.
1616

1717
A docker container exists for easy access to the TinyGo CLI. For example, to compile `wasm.wasm` for the WebAssembly export example:
1818

19-
docker run --rm -v $(pwd):/src tinygo/tinygo:0.15.0 tinygo build -o wasm.wasm -target=wasm examples/wasm/export
19+
docker run --rm -v $(pwd):/src tinygo/tinygo:0.16.0 tinygo build -o wasm.wasm -target=wasm examples/wasm/export
2020

2121
See the [WebAssembly page](../../webassembly) for more information on executing the compiled
2222
WebAssembly.
2323

2424
To compile `blinky1.hex` targeting an ARM microcontroller, such as the PCA10040:
2525

26-
docker run --rm -v $(pwd):/src tinygo/tinygo:0.15.0 tinygo build -o /src/blinky1.hex -size=short -target=pca10040 examples/blinky1
26+
docker run --rm -v $(pwd):/src tinygo/tinygo:0.16.0 tinygo build -o /src/blinky1.hex -size=short -target=pca10040 examples/blinky1
2727

2828
To compile `blinky1.hex` targeting an AVR microcontroller such as the Arduino:
2929

30-
docker run --rm -v $(pwd):/src tinygo/tinygo:0.15.0 tinygo build -o /src/blinky1.hex -size=short -target=arduino examples/blinky1
30+
docker run --rm -v $(pwd):/src tinygo/tinygo:0.16.0 tinygo build -o /src/blinky1.hex -size=short -target=arduino examples/blinky1
3131

3232
For projects that have remote dependencies outside of the standard library and
3333
go code within your own project, you will need to map your entire `$GOPATH`
3434
into the docker image for those dependencies to be found:
3535

36-
docker run -v $GOPATH:/go -e "GOPATH=/go" tinygo/tinygo:0.15.0 tinygo build -o /go/src/github.com/myuser/myrepo/wasm.wasm -target wasm --no-debug /go/src/github.com/myuser/myrepo/wasm-main.go
36+
docker run -v $GOPATH:/go -e "GOPATH=/go" tinygo/tinygo:0.16.0 tinygo build -o /go/src/github.com/myuser/myrepo/wasm.wasm -target wasm --no-debug /go/src/github.com/myuser/myrepo/wasm-main.go
3737

3838
**note: At this time, tinygo does not resolve dependencies from the /vendor/ folder within your project.**
3939

content/getting-started/windows.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ You can test that the installation was successful by running the `version` comma
3838

3939
```shell
4040
> tinygo version
41-
tinygo version 0.15.0 windows/amd64 (using go version go1.15 and LLVM version 10.0.1)
41+
tinygo version 0.16.0 windows/amd64 (using go version go1.15 and LLVM version 10.0.1)
4242
```
4343

4444
Upgrading to the latest TinyGo version can be done via scoop with:
@@ -55,7 +55,7 @@ Upgrading to the latest TinyGo version can be done via scoop with:
5555

5656
- Choose the download link for Microsoft Windows, Windows 7 or later, Intel 64-bit processor.
5757

58-
- Download the TinyGo binary for Windows file from https://github.com/tinygo-org/tinygo/releases/download/v0.15.0/tinygo0.15.0.windows-amd64.zip
58+
- Download the TinyGo binary for Windows file from https://github.com/tinygo-org/tinygo/releases/download/v0.16.0/tinygo0.16.0.windows-amd64.zip
5959

6060
- Decompress the file like this:
6161

@@ -75,7 +75,7 @@ Upgrading to the latest TinyGo version can be done via scoop with:
7575

7676
```
7777
> tinygo version
78-
tinygo version 0.15.0 windows/amd64 (using go version go1.15 and LLVM version 10.0.1)
78+
tinygo version 0.16.0 windows/amd64 (using go version go1.15 and LLVM version 10.0.1)
7979
```
8080

8181
### Flashing boards
@@ -189,7 +189,7 @@ This results in a `tinygo.exe` binary in the `build` directory:
189189

190190
```text
191191
$ ./build/tinygo version
192-
tinygo version 0.15.0 windows/amd64 (using go version go1.15 and LLVM version 10.0.1)
192+
tinygo version 0.16.0 windows/amd64 (using go version go1.15 and LLVM version 10.0.1)
193193
```
194194

195195
### Additional Requirements for Microcontrollers

content/webassembly/webassembly.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,13 +57,13 @@ Note the `--no-debug` flag, which reduces the size of the final binary by removi
5757
debug symbols from the output. Also note that you must change the path to your Wasm file from `/go/src/github.com/myuser/myrepo/wasm-main.go` to whatever the actual path to your file is:
5858

5959
```
60-
docker run -v $GOPATH:/go -e "GOPATH=/go" tinygo/tinygo:0.15.0 tinygo build -o /go/src/github.com/myuser/myrepo/wasm.wasm -target wasm --no-debug /go/src/github.com/myuser/myrepo/wasm-main.go
60+
docker run -v $GOPATH:/go -e "GOPATH=/go" tinygo/tinygo:0.16.0 tinygo build -o /go/src/github.com/myuser/myrepo/wasm.wasm -target wasm --no-debug /go/src/github.com/myuser/myrepo/wasm-main.go
6161
```
6262

6363
Make sure you copy `wasm_exec.js` to your runtime environment:
6464

6565
```
66-
docker run -v $GOPATH:/go -e "GOPATH=/go" tinygo/tinygo:0.15.0 /bin/bash -c "cp /usr/local/tinygo/targets/wasm_exec.js /go/src/github.com/myuser/myrepo/
66+
docker run -v $GOPATH:/go -e "GOPATH=/go" tinygo/tinygo:0.16.0 /bin/bash -c "cp /usr/local/tinygo/targets/wasm_exec.js /go/src/github.com/myuser/myrepo/
6767
```
6868

6969
More complete examples are provided in the [wasm examples](https://github.com/tinygo-org/tinygo/tree/master/src/examples/wasm).

0 commit comments

Comments
 (0)