Skip to content

Commit 3359610

Browse files
sago35deadprogram
authored andcommitted
boards/machine: unify procedures for each OS
1 parent 7f4a368 commit 3359610

File tree

3 files changed

+3
-68
lines changed

3 files changed

+3
-68
lines changed

content/microcontrollers/arduino-nano33-iot.md

Lines changed: 1 addition & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -76,29 +76,7 @@ bossac --help
7676

7777
Once you have installed the needed BOSSA command line utility, as in the previous section, you are ready to build and flash code to your Arduino Nano33 IoT board.
7878

79-
### CLI Flashing on Linux
80-
81-
- Plug your Arduino Nano33 IoT board into your computer's USB port.
82-
- Build and flash your TinyGo code using the `tinygo flash` command. This command flashes the Arduino Nano33 IoT with the blinky1 example:
83-
84-
```
85-
tinygo flash -target=arduino-nano33 examples/blinky1
86-
```
87-
88-
- The Arduino Nano33 IoT board should restart and then begin running your program.
89-
90-
### CLI Flashing on macOS
91-
92-
- Plug your Arduino Nano33 IoT board into your computer's USB port.
93-
- Build and flash your TinyGo code using the `tinygo flash` command. This command flashes the Arduino Nano33 IoT with the blinky1 example:
94-
95-
```
96-
tinygo flash -target=arduino-nano33 examples/blinky1
97-
```
98-
99-
- The Arduino Nano33 IoT board should restart and then begin running your program.
100-
101-
### CLI Flashing on Windows
79+
### CLI Flashing
10280

10381
- Plug your Arduino Nano33 IoT board into your computer's USB port.
10482
- Build and flash your TinyGo code using the `tinygo flash` command. This command flashes the Arduino Nano33 IoT with the blinky1 example:

content/microcontrollers/arduino-zero.md

Lines changed: 1 addition & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ bossac --help
7070

7171
Once you have installed the needed BOSSA command line utility, as in the previous section, you are ready to build and flash code to your Arduino Zero board.
7272

73-
### CLI Flashing on Linux
73+
### CLI Flashing
7474

7575
- Plug your Arduino Zero board into your computer's USB port.
7676
- Build and flash your TinyGo code using the `tinygo flash` command. This command flashes the Arduino Zero with the blinky1 example:
@@ -81,27 +81,6 @@ Once you have installed the needed BOSSA command line utility, as in the previou
8181
8282
- The Arduino Zero board should restart and then begin running your program.
8383
84-
### CLI Flashing on macOS
85-
86-
- Plug your Arduino Zero board into your computer's USB port.
87-
- Build and flash your TinyGo code using the `tinygo flash` command. This command flashes the Arduino Zero with the blinky1 example:
88-
89-
```
90-
tinygo flash -target=arduino-zero examples/blinky1
91-
```
92-
93-
- The Arduino Zero board should restart and then begin running your program.
94-
95-
### CLI Flashing on Windows
96-
97-
- Plug your Arduino Zero board into your computer's USB port.
98-
- Build and flash your TinyGo code using the `tinygo flash` command. This command flashes the Arduino Zero with the blinky1 example:
99-
100-
```
101-
tinygo flash -target=arduino-zero examples/blinky1
102-
```
103-
104-
- The Arduino Zero board should restart and then begin running your program.
10584
10685
### Troubleshooting
10786

content/microcontrollers/teensy36.md

Lines changed: 1 addition & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -26,29 +26,7 @@ The [PJRC Teensy 3.6](https://www.pjrc.com/store/teensy36.html) is a small ARM d
2626

2727
In order to flash your TinyGo programs onto the Teensy 3.6 board, you will need to install the `teensy_loader_cli` (https://github.com/PaulStoffregen/teensy_loader_cli) on your machine.
2828

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

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

0 commit comments

Comments
 (0)