Skip to content

boards/machine: unify procedures for each OS #118

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 27, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 1 addition & 23 deletions content/microcontrollers/circuit-playground-bluefruit.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,29 +27,7 @@ The [Adafruit Circuit Playground Bluefruit](https://www.adafruit.com/product/433

The Circuit Playground Bluefruit comes with the [UF2 bootloader](https://github.com/Microsoft/uf2) already installed.

### CLI Flashing on Linux

- Plug your Circuit Playground Bluefruit into your computer's USB port.
- Flash your TinyGo program to the board using this command:

```shell
tinygo flash -target=circuitplay-bluefruit [PATH TO YOUR PROGRAM]
```

- The Circuit Playground Bluefruit board should restart and then begin running your program.

### CLI Flashing on macOS

- Plug your Circuit Playground Bluefruit into your computer's USB port.
- Flash your TinyGo program to the board using this command:

```shell
tinygo flash -target=circuitplay-bluefruit [PATH TO YOUR PROGRAM]
```

- The Circuit Playground Bluefruit board should restart and then begin running your program.

### CLI Flashing on Windows
### CLI Flashing

- Plug your Circuit Playground Bluefruit into your computer's USB port.
- Flash your TinyGo program to the board using this command:
Expand Down
24 changes: 1 addition & 23 deletions content/microcontrollers/circuit-playground-express.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,29 +26,7 @@ The [Adafruit Circuit Playground Express](https://www.adafruit.com/product/3333)

The Circuit Playground Express comes with the [UF2 bootloader](https://github.com/Microsoft/uf2) already installed.

### CLI Flashing on Linux

- Plug your Circuit Playground Express into your computer's USB port.
- Flash your TinyGo program to the board using this command:

```shell
tinygo flash -target=circuitplay-express [PATH TO YOUR PROGRAM]
```

- The Circuit Playground Express board should restart and then begin running your program.

### CLI Flashing on macOS

- Plug your Circuit Playground Express into your computer's USB port.
- Flash your TinyGo program to the board using this command:

```shell
tinygo flash -target=circuitplay-express [PATH TO YOUR PROGRAM]
```

- The Circuit Playground Express board should restart and then begin running your program.

### CLI Flashing on Windows
### CLI Flashing

- Plug your Circuit Playground Express into your computer's USB port.
- Flash your TinyGo program to the board using this command:
Expand Down
24 changes: 1 addition & 23 deletions content/microcontrollers/clue-alpha.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,29 +27,7 @@ The [Adafruit CLUE](https://www.adafruit.com/product/4500) is small ARM developm

The CLUE comes with the [UF2 bootloader](https://github.com/Microsoft/uf2) already installed.

### CLI Flashing on Linux

- Plug your CLUE into your computer's USB port.
- Flash your TinyGo program to the board using this command:

```shell
tinygo flash -target=clue-alpha [PATH TO YOUR PROGRAM]
```

- The CLUE board should restart and then begin running your program.

### CLI Flashing on macOS

- Plug your CLUE into your computer's USB port.
- Flash your TinyGo program to the board using this command:

```shell
tinygo flash -target=clue-alpha [PATH TO YOUR PROGRAM]
```

- The CLUE board should restart and then begin running your program.

### CLI Flashing on Windows
### CLI Flashing

- Plug your CLUE into your computer's USB port.
- Flash your TinyGo program to the board using this command:
Expand Down
24 changes: 1 addition & 23 deletions content/microcontrollers/feather-m0.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,29 +26,7 @@ The [Adafruit Feather M0](https://www.adafruit.com/product/3403) is a tiny ARM d

The Feather M0 comes with the [UF2 bootloader](https://github.com/Microsoft/uf2) already installed.

### CLI Flashing on Linux

- Plug your Feather M0 into your computer's USB port.
- Flash your TinyGo program to the board using this command:

```shell
tinygo flash -target=feather-m0 [PATH TO YOUR PROGRAM]
```

- The Feather M0 board should restart and then begin running your program.

### CLI Flashing on macOS

- Plug your Feather M0 into your computer's USB port.
- Flash your TinyGo program to the board using this command:

```shell
tinygo flash -target=feather-m0 [PATH TO YOUR PROGRAM]
```

- The Feather M0 board should restart and then begin running your program.

### CLI Flashing on Windows
### CLI Flashing

- Plug your Feather M0 into your computer's USB port.
- Flash your TinyGo program to the board using this command:
Expand Down
23 changes: 1 addition & 22 deletions content/microcontrollers/feather-m4.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ The [Adafruit Feather M4](https://www.adafruit.com/product/3857) is a tiny ARM d

The Feather M4 comes with the [UF2 bootloader](https://github.com/Microsoft/uf2) already installed.

### CLI Flashing on Linux
### CLI Flashing

- Plug your Feather M4 into your computer's USB port.
- Flash your TinyGo program to the board using this command:
Expand All @@ -37,27 +37,6 @@ The Feather M4 comes with the [UF2 bootloader](https://github.com/Microsoft/uf2)

- The Feather M4 board should restart and then begin running your program.

### CLI Flashing on macOS

- Plug your Feather M4 into your computer's USB port.
- Flash your TinyGo program to the board using this command:

```shell
tinygo flash -target=feather-m4 [PATH TO YOUR PROGRAM]
```

- The Feather M4 board should restart and then begin running your program.

### CLI Flashing on Windows

- Plug your Feather M4 into your computer's USB port.
- Flash your TinyGo program to the board using this command:

```shell
tinygo flash -target=feather-m4 [PATH TO YOUR PROGRAM]
```

- The Feather M4 board should restart and then begin running your program.

### Troubleshooting

Expand Down
24 changes: 1 addition & 23 deletions content/microcontrollers/feather-nrf52840.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,29 +27,7 @@ The [Adafruit Feather nRF52840](https://www.adafruit.com/product/4500) is a smal

The Adafruit Feather nRF52840 comes with the [UF2 bootloader](https://github.com/Microsoft/uf2) already installed.

### CLI Flashing on Linux

- Plug your Adafruit Feather nRF52840 into your computer's USB port.
- Flash your TinyGo program to the board using this command:

```shell
tinygo flash -target=feather-nrf52840 [PATH TO YOUR PROGRAM]
```

- The Adafruit Feather nRF52840 board should restart and then begin running your program.

### CLI Flashing on macOS

- Plug your Adafruit Feather nRF52840 into your computer's USB port.
- Flash your TinyGo program to the board using this command:

```shell
tinygo flash -target=feather-nrf52840 [PATH TO YOUR PROGRAM]
```

- The Adafruit Feather nRF52840 board should restart and then begin running your program.

### CLI Flashing on Windows
### CLI Flashing

- Plug your Adafruit Feather nRF52840 into your computer's USB port.
- Flash your TinyGo program to the board using this command:
Expand Down
24 changes: 1 addition & 23 deletions content/microcontrollers/itsybitsy-m0.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,29 +26,7 @@ The [Adafruit ItsyBitsy M0](https://www.adafruit.com/product/3727) is very compa

The ItsyBitsy M0 comes with the [UF2 bootloader](https://github.com/Microsoft/uf2) already installed.

### CLI Flashing on Linux

- Plug your ItsyBitsy M0 into your computer's USB port.
- Flash your TinyGo program to the board using this command:

```shell
tinygo flash -target=itsybitsy-m0 [PATH TO YOUR PROGRAM]
```

- The ItsyBitsy M0 board should restart and then begin running your program.

### CLI Flashing on macOS

- Plug your ItsyBitsy M0 into your computer's USB port.
- Flash your TinyGo program to the board using this command:

```shell
tinygo flash -target=itsybitsy-m0 [PATH TO YOUR PROGRAM]
```

- The ItsyBitsy M0 board should restart and then begin running your program.

### CLI Flashing on Windows
### CLI Flashing

- Plug your ItsyBitsy M0 into your computer's USB port.
- Flash your TinyGo program to the board using this command:
Expand Down
24 changes: 1 addition & 23 deletions content/microcontrollers/itsybitsy-m4.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,29 +26,7 @@ The [Adafruit ItsyBitsy M4](https://www.adafruit.com/product/3800) is very compa

The ItsyBitsy M4 comes with the [UF2 bootloader](https://github.com/Microsoft/uf2) already installed.

### CLI Flashing on Linux

- Plug your ItsyBitsy M4 into your computer's USB port.
- Flash your TinyGo program to the board using this command:

```shell
tinygo flash -target=itsybitsy-m4 [PATH TO YOUR PROGRAM]
```

- The ItsyBitsy M4 board should restart and then begin running your program.

### CLI Flashing on macOS

- Plug your ItsyBitsy M4 into your computer's USB port.
- Flash your TinyGo program to the board using this command:

```shell
tinygo flash -target=itsybitsy-m4 [PATH TO YOUR PROGRAM]
```

- The ItsyBitsy M4 board should restart and then begin running your program.

### CLI Flashing on Windows
### CLI Flashing

- Plug your ItsyBitsy M4 into your computer's USB port.
- Flash your TinyGo program to the board using this command:
Expand Down
24 changes: 1 addition & 23 deletions content/microcontrollers/itsybitsy-nrf52840.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,29 +27,7 @@ The [Adafruit ItsyBitsy-nRF52840](https://www.adafruit.com/product/4333) is a sm

The ItsyBitsy-nRF52840 comes with the [UF2 bootloader](https://github.com/Microsoft/uf2) already installed.

### CLI Flashing on Linux

- Plug your ItsyBitsy-nRF52840 into your computer's USB port.
- Flash your TinyGo program to the board using this command:

```shell
tinygo flash -target=itsybitsy-nrf52840 [PATH TO YOUR PROGRAM]
```

- The ItsyBitsy-nRF52840 board should restart and then begin running your program.

### CLI Flashing on macOS

- Plug your ItsyBitsy-nRF52840 into your computer's USB port.
- Flash your TinyGo program to the board using this command:

```shell
tinygo flash -target=itsybitsy-nrf52840 [PATH TO YOUR PROGRAM]
```

- The ItsyBitsy-nRF52840 board should restart and then begin running your program.

### CLI Flashing on Windows
### CLI Flashing

- Plug your ItsyBitsy-nRF52840 into your computer's USB port.
- Flash your TinyGo program to the board using this command:
Expand Down
24 changes: 1 addition & 23 deletions content/microcontrollers/metro-m4-airlift.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,29 +26,7 @@ The [Adafruit Metro M4 Express AirLift](https://www.adafruit.com/product/4000) i

The Metro M4 Express comes with the [UF2 bootloader](https://github.com/Microsoft/uf2) already installed.

### CLI Flashing on Linux

- Plug your Metro M4 Express into your computer's USB port.
- Flash your TinyGo program to the board using this command:

```shell
tinygo flash -target=metro-m4-airlift [PATH TO YOUR PROGRAM]
```

- The Metro M4 Express board should restart and then begin running your program.

### CLI Flashing on macOS

- Plug your Metro M4 Express into your computer's USB port.
- Flash your TinyGo program to the board using this command:

```shell
tinygo flash -target=metro-m4-airlift [PATH TO YOUR PROGRAM]
```

- The Metro M4 Express board should restart and then begin running your program.

### CLI Flashing on Windows
### CLI Flashing

- Plug your Metro M4 Express into your computer's USB port.
- Flash your TinyGo program to the board using this command:
Expand Down
24 changes: 1 addition & 23 deletions content/microcontrollers/pybadge.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,29 +28,7 @@ It has many built-in devices, such as a 1.8" 160x128 Color TFT Display, 8 x butt

The PyBadge comes with the [UF2 bootloader](https://github.com/Microsoft/uf2) already installed.

### CLI Flashing on Linux

- Plug your PyBadge into your computer's USB port.
- Flash your TinyGo program to the board using this command:

```shell
tinygo flash -target=pybadge [PATH TO YOUR PROGRAM]
```

- The PyBadge board should restart and then begin running your program.

### CLI Flashing on macOS

- Plug your PyBadge into your computer's USB port.
- Flash your TinyGo program to the board using this command:

```shell
tinygo flash -target=pybadge [PATH TO YOUR PROGRAM]
```

- The PyBadge board should restart and then begin running your program.

### CLI Flashing on Windows
### CLI Flashing

- Plug your PyBadge into your computer's USB port.
- Flash your TinyGo program to the board using this command:
Expand Down
24 changes: 1 addition & 23 deletions content/microcontrollers/pygamer.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,29 +28,7 @@ It has many built-in devices, such as a 1.8" 160x128 Color TFT Display, a dual-p

The PyGamer comes with the [UF2 bootloader](https://github.com/Microsoft/uf2) already installed.

### CLI Flashing on Linux

- Plug your PyGamer into your computer's USB port.
- Flash your TinyGo program to the board using this command:

```shell
tinygo flash -target=pygamer [PATH TO YOUR PROGRAM]
```

- The PyGamer board should restart and then begin running your program.

### CLI Flashing on macOS

- Plug your PyGamer into your computer's USB port.
- Flash your TinyGo program to the board using this command:

```shell
tinygo flash -target=pygamer [PATH TO YOUR PROGRAM]
```

- The PyGamer board should restart and then begin running your program.

### CLI Flashing on Windows
### CLI Flashing

- Plug your PyGamer into your computer's USB port.
- Flash your TinyGo program to the board using this command:
Expand Down
Loading