Skip to content

Commit b5b9a86

Browse files
sago35aykevl
authored andcommitted
boards/machine: unify procedures for each OS
1 parent 9e5f430 commit b5b9a86

16 files changed

+16
-367
lines changed

content/microcontrollers/circuit-playground-bluefruit.md

Lines changed: 1 addition & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -27,29 +27,7 @@ The [Adafruit Circuit Playground Bluefruit](https://www.adafruit.com/product/433
2727

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

30-
### CLI Flashing on Linux
31-
32-
- Plug your Circuit Playground Bluefruit into your computer's USB port.
33-
- Flash your TinyGo program to the board using this command:
34-
35-
```shell
36-
tinygo flash -target=circuitplay-bluefruit [PATH TO YOUR PROGRAM]
37-
```
38-
39-
- The Circuit Playground Bluefruit board should restart and then begin running your program.
40-
41-
### CLI Flashing on macOS
42-
43-
- Plug your Circuit Playground Bluefruit into your computer's USB port.
44-
- Flash your TinyGo program to the board using this command:
45-
46-
```shell
47-
tinygo flash -target=circuitplay-bluefruit [PATH TO YOUR PROGRAM]
48-
```
49-
50-
- The Circuit Playground Bluefruit board should restart and then begin running your program.
51-
52-
### CLI Flashing on Windows
30+
### CLI Flashing
5331

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

content/microcontrollers/circuit-playground-express.md

Lines changed: 1 addition & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -26,29 +26,7 @@ The [Adafruit Circuit Playground Express](https://www.adafruit.com/product/3333)
2626

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

29-
### CLI Flashing on Linux
30-
31-
- Plug your Circuit Playground Express into your computer's USB port.
32-
- Flash your TinyGo program to the board using this command:
33-
34-
```shell
35-
tinygo flash -target=circuitplay-express [PATH TO YOUR PROGRAM]
36-
```
37-
38-
- The Circuit Playground Express board should restart and then begin running your program.
39-
40-
### CLI Flashing on macOS
41-
42-
- Plug your Circuit Playground Express into your computer's USB port.
43-
- Flash your TinyGo program to the board using this command:
44-
45-
```shell
46-
tinygo flash -target=circuitplay-express [PATH TO YOUR PROGRAM]
47-
```
48-
49-
- The Circuit Playground Express board should restart and then begin running your program.
50-
51-
### CLI Flashing on Windows
29+
### CLI Flashing
5230

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

content/microcontrollers/clue-alpha.md

Lines changed: 1 addition & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -27,29 +27,7 @@ The [Adafruit CLUE](https://www.adafruit.com/product/4500) is small ARM developm
2727

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

30-
### CLI Flashing on Linux
31-
32-
- Plug your CLUE into your computer's USB port.
33-
- Flash your TinyGo program to the board using this command:
34-
35-
```shell
36-
tinygo flash -target=clue-alpha [PATH TO YOUR PROGRAM]
37-
```
38-
39-
- The CLUE board should restart and then begin running your program.
40-
41-
### CLI Flashing on macOS
42-
43-
- Plug your CLUE into your computer's USB port.
44-
- Flash your TinyGo program to the board using this command:
45-
46-
```shell
47-
tinygo flash -target=clue-alpha [PATH TO YOUR PROGRAM]
48-
```
49-
50-
- The CLUE board should restart and then begin running your program.
51-
52-
### CLI Flashing on Windows
30+
### CLI Flashing
5331

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

content/microcontrollers/feather-m0.md

Lines changed: 1 addition & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -26,29 +26,7 @@ The [Adafruit Feather M0](https://www.adafruit.com/product/3403) is a tiny ARM d
2626

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

29-
### CLI Flashing on Linux
30-
31-
- Plug your Feather M0 into your computer's USB port.
32-
- Flash your TinyGo program to the board using this command:
33-
34-
```shell
35-
tinygo flash -target=feather-m0 [PATH TO YOUR PROGRAM]
36-
```
37-
38-
- The Feather M0 board should restart and then begin running your program.
39-
40-
### CLI Flashing on macOS
41-
42-
- Plug your Feather M0 into your computer's USB port.
43-
- Flash your TinyGo program to the board using this command:
44-
45-
```shell
46-
tinygo flash -target=feather-m0 [PATH TO YOUR PROGRAM]
47-
```
48-
49-
- The Feather M0 board should restart and then begin running your program.
50-
51-
### CLI Flashing on Windows
29+
### CLI Flashing
5230

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

content/microcontrollers/feather-m4.md

Lines changed: 1 addition & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ The [Adafruit Feather M4](https://www.adafruit.com/product/3857) is a tiny ARM d
2626

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

29-
### CLI Flashing on Linux
29+
### CLI Flashing
3030

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

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

40-
### CLI Flashing on macOS
41-
42-
- Plug your Feather M4 into your computer's USB port.
43-
- Flash your TinyGo program to the board using this command:
44-
45-
```shell
46-
tinygo flash -target=feather-m4 [PATH TO YOUR PROGRAM]
47-
```
48-
49-
- The Feather M4 board should restart and then begin running your program.
50-
51-
### CLI Flashing on Windows
52-
53-
- Plug your Feather M4 into your computer's USB port.
54-
- Flash your TinyGo program to the board using this command:
55-
56-
```shell
57-
tinygo flash -target=feather-m4 [PATH TO YOUR PROGRAM]
58-
```
59-
60-
- The Feather M4 board should restart and then begin running your program.
6140

6241
### Troubleshooting
6342

content/microcontrollers/feather-nrf52840.md

Lines changed: 1 addition & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -27,29 +27,7 @@ The [Adafruit Feather nRF52840](https://www.adafruit.com/product/4500) is a smal
2727

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

30-
### CLI Flashing on Linux
31-
32-
- Plug your Adafruit Feather nRF52840 into your computer's USB port.
33-
- Flash your TinyGo program to the board using this command:
34-
35-
```shell
36-
tinygo flash -target=feather-nrf52840 [PATH TO YOUR PROGRAM]
37-
```
38-
39-
- The Adafruit Feather nRF52840 board should restart and then begin running your program.
40-
41-
### CLI Flashing on macOS
42-
43-
- Plug your Adafruit Feather nRF52840 into your computer's USB port.
44-
- Flash your TinyGo program to the board using this command:
45-
46-
```shell
47-
tinygo flash -target=feather-nrf52840 [PATH TO YOUR PROGRAM]
48-
```
49-
50-
- The Adafruit Feather nRF52840 board should restart and then begin running your program.
51-
52-
### CLI Flashing on Windows
30+
### CLI Flashing
5331

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

content/microcontrollers/itsybitsy-m0.md

Lines changed: 1 addition & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -26,29 +26,7 @@ The [Adafruit ItsyBitsy M0](https://www.adafruit.com/product/3727) is very compa
2626

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

29-
### CLI Flashing on Linux
30-
31-
- Plug your ItsyBitsy M0 into your computer's USB port.
32-
- Flash your TinyGo program to the board using this command:
33-
34-
```shell
35-
tinygo flash -target=itsybitsy-m0 [PATH TO YOUR PROGRAM]
36-
```
37-
38-
- The ItsyBitsy M0 board should restart and then begin running your program.
39-
40-
### CLI Flashing on macOS
41-
42-
- Plug your ItsyBitsy M0 into your computer's USB port.
43-
- Flash your TinyGo program to the board using this command:
44-
45-
```shell
46-
tinygo flash -target=itsybitsy-m0 [PATH TO YOUR PROGRAM]
47-
```
48-
49-
- The ItsyBitsy M0 board should restart and then begin running your program.
50-
51-
### CLI Flashing on Windows
29+
### CLI Flashing
5230

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

content/microcontrollers/itsybitsy-m4.md

Lines changed: 1 addition & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -26,29 +26,7 @@ The [Adafruit ItsyBitsy M4](https://www.adafruit.com/product/3800) is very compa
2626

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

29-
### CLI Flashing on Linux
30-
31-
- Plug your ItsyBitsy M4 into your computer's USB port.
32-
- Flash your TinyGo program to the board using this command:
33-
34-
```shell
35-
tinygo flash -target=itsybitsy-m4 [PATH TO YOUR PROGRAM]
36-
```
37-
38-
- The ItsyBitsy M4 board should restart and then begin running your program.
39-
40-
### CLI Flashing on macOS
41-
42-
- Plug your ItsyBitsy M4 into your computer's USB port.
43-
- Flash your TinyGo program to the board using this command:
44-
45-
```shell
46-
tinygo flash -target=itsybitsy-m4 [PATH TO YOUR PROGRAM]
47-
```
48-
49-
- The ItsyBitsy M4 board should restart and then begin running your program.
50-
51-
### CLI Flashing on Windows
29+
### CLI Flashing
5230

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

content/microcontrollers/itsybitsy-nrf52840.md

Lines changed: 1 addition & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -27,29 +27,7 @@ The [Adafruit ItsyBitsy-nRF52840](https://www.adafruit.com/product/4333) is a sm
2727

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

30-
### CLI Flashing on Linux
31-
32-
- Plug your ItsyBitsy-nRF52840 into your computer's USB port.
33-
- Flash your TinyGo program to the board using this command:
34-
35-
```shell
36-
tinygo flash -target=itsybitsy-nrf52840 [PATH TO YOUR PROGRAM]
37-
```
38-
39-
- The ItsyBitsy-nRF52840 board should restart and then begin running your program.
40-
41-
### CLI Flashing on macOS
42-
43-
- Plug your ItsyBitsy-nRF52840 into your computer's USB port.
44-
- Flash your TinyGo program to the board using this command:
45-
46-
```shell
47-
tinygo flash -target=itsybitsy-nrf52840 [PATH TO YOUR PROGRAM]
48-
```
49-
50-
- The ItsyBitsy-nRF52840 board should restart and then begin running your program.
51-
52-
### CLI Flashing on Windows
30+
### CLI Flashing
5331

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

content/microcontrollers/metro-m4-airlift.md

Lines changed: 1 addition & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -26,29 +26,7 @@ The [Adafruit Metro M4 Express AirLift](https://www.adafruit.com/product/4000) i
2626

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

29-
### CLI Flashing on Linux
30-
31-
- Plug your Metro M4 Express into your computer's USB port.
32-
- Flash your TinyGo program to the board using this command:
33-
34-
```shell
35-
tinygo flash -target=metro-m4-airlift [PATH TO YOUR PROGRAM]
36-
```
37-
38-
- The Metro M4 Express board should restart and then begin running your program.
39-
40-
### CLI Flashing on macOS
41-
42-
- Plug your Metro M4 Express into your computer's USB port.
43-
- Flash your TinyGo program to the board using this command:
44-
45-
```shell
46-
tinygo flash -target=metro-m4-airlift [PATH TO YOUR PROGRAM]
47-
```
48-
49-
- The Metro M4 Express board should restart and then begin running your program.
50-
51-
### CLI Flashing on Windows
29+
### CLI Flashing
5230

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

content/microcontrollers/pybadge.md

Lines changed: 1 addition & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -28,29 +28,7 @@ It has many built-in devices, such as a 1.8" 160x128 Color TFT Display, 8 x butt
2828

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

31-
### CLI Flashing on Linux
32-
33-
- Plug your PyBadge into your computer's USB port.
34-
- Flash your TinyGo program to the board using this command:
35-
36-
```shell
37-
tinygo flash -target=pybadge [PATH TO YOUR PROGRAM]
38-
```
39-
40-
- The PyBadge board should restart and then begin running your program.
41-
42-
### CLI Flashing on macOS
43-
44-
- Plug your PyBadge into your computer's USB port.
45-
- Flash your TinyGo program to the board using this command:
46-
47-
```shell
48-
tinygo flash -target=pybadge [PATH TO YOUR PROGRAM]
49-
```
50-
51-
- The PyBadge board should restart and then begin running your program.
52-
53-
### CLI Flashing on Windows
31+
### CLI Flashing
5432

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

content/microcontrollers/pygamer.md

Lines changed: 1 addition & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -28,29 +28,7 @@ It has many built-in devices, such as a 1.8" 160x128 Color TFT Display, a dual-p
2828

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

31-
### CLI Flashing on Linux
32-
33-
- Plug your PyGamer into your computer's USB port.
34-
- Flash your TinyGo program to the board using this command:
35-
36-
```shell
37-
tinygo flash -target=pygamer [PATH TO YOUR PROGRAM]
38-
```
39-
40-
- The PyGamer board should restart and then begin running your program.
41-
42-
### CLI Flashing on macOS
43-
44-
- Plug your PyGamer into your computer's USB port.
45-
- Flash your TinyGo program to the board using this command:
46-
47-
```shell
48-
tinygo flash -target=pygamer [PATH TO YOUR PROGRAM]
49-
```
50-
51-
- The PyGamer board should restart and then begin running your program.
52-
53-
### CLI Flashing on Windows
31+
### CLI Flashing
5432

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

0 commit comments

Comments
 (0)