From 0c44d7d9f55d789a9c04eb5546642e0bc69dc2ea Mon Sep 17 00:00:00 2001 From: sago35 Date: Fri, 18 Sep 2020 18:38:31 +0900 Subject: [PATCH] boards/machine: unify procedures for each OS --- .../circuit-playground-bluefruit.md | 24 +------------------ .../circuit-playground-express.md | 24 +------------------ content/microcontrollers/clue-alpha.md | 24 +------------------ content/microcontrollers/feather-m0.md | 24 +------------------ content/microcontrollers/feather-m4.md | 23 +----------------- content/microcontrollers/feather-nrf52840.md | 24 +------------------ content/microcontrollers/itsybitsy-m0.md | 24 +------------------ content/microcontrollers/itsybitsy-m4.md | 24 +------------------ .../microcontrollers/itsybitsy-nrf52840.md | 24 +------------------ content/microcontrollers/metro-m4-airlift.md | 24 +------------------ content/microcontrollers/pybadge.md | 24 +------------------ content/microcontrollers/pygamer.md | 24 +------------------ content/microcontrollers/pyportal.md | 24 +------------------ content/microcontrollers/trinket-m0.md | 24 +------------------ content/microcontrollers/wioterminal.md | 24 +------------------ content/microcontrollers/xiao.md | 24 +------------------ 16 files changed, 16 insertions(+), 367 deletions(-) diff --git a/content/microcontrollers/circuit-playground-bluefruit.md b/content/microcontrollers/circuit-playground-bluefruit.md index 41ce5238..e3c318ef 100644 --- a/content/microcontrollers/circuit-playground-bluefruit.md +++ b/content/microcontrollers/circuit-playground-bluefruit.md @@ -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: diff --git a/content/microcontrollers/circuit-playground-express.md b/content/microcontrollers/circuit-playground-express.md index 263d18b1..002a2864 100644 --- a/content/microcontrollers/circuit-playground-express.md +++ b/content/microcontrollers/circuit-playground-express.md @@ -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: diff --git a/content/microcontrollers/clue-alpha.md b/content/microcontrollers/clue-alpha.md index 3760ff3f..daa4bab3 100644 --- a/content/microcontrollers/clue-alpha.md +++ b/content/microcontrollers/clue-alpha.md @@ -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: diff --git a/content/microcontrollers/feather-m0.md b/content/microcontrollers/feather-m0.md index b43ad2df..40cdea2c 100644 --- a/content/microcontrollers/feather-m0.md +++ b/content/microcontrollers/feather-m0.md @@ -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: diff --git a/content/microcontrollers/feather-m4.md b/content/microcontrollers/feather-m4.md index 13f35c02..bd28de84 100644 --- a/content/microcontrollers/feather-m4.md +++ b/content/microcontrollers/feather-m4.md @@ -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: @@ -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 diff --git a/content/microcontrollers/feather-nrf52840.md b/content/microcontrollers/feather-nrf52840.md index fce46506..73551ba1 100644 --- a/content/microcontrollers/feather-nrf52840.md +++ b/content/microcontrollers/feather-nrf52840.md @@ -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: diff --git a/content/microcontrollers/itsybitsy-m0.md b/content/microcontrollers/itsybitsy-m0.md index 0ad67d12..6b49fe1f 100644 --- a/content/microcontrollers/itsybitsy-m0.md +++ b/content/microcontrollers/itsybitsy-m0.md @@ -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: diff --git a/content/microcontrollers/itsybitsy-m4.md b/content/microcontrollers/itsybitsy-m4.md index 1c0f9446..411c9282 100644 --- a/content/microcontrollers/itsybitsy-m4.md +++ b/content/microcontrollers/itsybitsy-m4.md @@ -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: diff --git a/content/microcontrollers/itsybitsy-nrf52840.md b/content/microcontrollers/itsybitsy-nrf52840.md index 01e309b0..7c880d64 100644 --- a/content/microcontrollers/itsybitsy-nrf52840.md +++ b/content/microcontrollers/itsybitsy-nrf52840.md @@ -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: diff --git a/content/microcontrollers/metro-m4-airlift.md b/content/microcontrollers/metro-m4-airlift.md index 3425c7f8..e4de66fc 100644 --- a/content/microcontrollers/metro-m4-airlift.md +++ b/content/microcontrollers/metro-m4-airlift.md @@ -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: diff --git a/content/microcontrollers/pybadge.md b/content/microcontrollers/pybadge.md index 56838e64..19a6d774 100644 --- a/content/microcontrollers/pybadge.md +++ b/content/microcontrollers/pybadge.md @@ -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: diff --git a/content/microcontrollers/pygamer.md b/content/microcontrollers/pygamer.md index f26777aa..8352d485 100644 --- a/content/microcontrollers/pygamer.md +++ b/content/microcontrollers/pygamer.md @@ -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: diff --git a/content/microcontrollers/pyportal.md b/content/microcontrollers/pyportal.md index f54ef3c3..c2838d95 100644 --- a/content/microcontrollers/pyportal.md +++ b/content/microcontrollers/pyportal.md @@ -28,29 +28,7 @@ The PyPortal also has an Espressif ESP32 Wi-Fi coprocessor with TLS/SSL support The PyPortal comes with the [UF2 bootloader](https://github.com/Microsoft/uf2) already installed. -### CLI Flashing on Linux - -- Plug your PyPortal into your computer's USB port. -- Flash your TinyGo program to the board using this command: - - ```shell - tinygo flash -target=pyportal [PATH TO YOUR PROGRAM] - ``` - -- The PyPortal board should restart and then begin running your program. - -### CLI Flashing on macOS - -- Plug your PyPortal into your computer's USB port. -- Flash your TinyGo program to the board using this command: - - ```shell - tinygo flash -target=pyportal [PATH TO YOUR PROGRAM] - ``` - -- The PyPortal board should restart and then begin running your program. - -### CLI Flashing on Windows +### CLI Flashing - Plug your PyPortal into your computer's USB port. - Flash your TinyGo program to the board using this command: diff --git a/content/microcontrollers/trinket-m0.md b/content/microcontrollers/trinket-m0.md index 879f6c3b..ebbb3275 100644 --- a/content/microcontrollers/trinket-m0.md +++ b/content/microcontrollers/trinket-m0.md @@ -26,29 +26,7 @@ The [Adafruit Trinket M0](https://www.adafruit.com/product/3500) is a tiny ARM d The Trinket M0 comes with the [UF2 bootloader](https://github.com/Microsoft/uf2) already installed. -### CLI Flashing on Linux - -- Plug your Trinket M0 into your computer's USB port. -- Flash your TinyGo program to the board using this command: - - ```shell - tinygo flash -target=trinket-m0 [PATH TO YOUR PROGRAM] - ``` - -- The Trinket M0 board should restart and then begin running your program. - -### CLI Flashing on macOS - -- Plug your Trinket M0 into your computer's USB port. -- Flash your TinyGo program to the board using this command: - - ```shell - tinygo flash -target=trinket-m0 [PATH TO YOUR PROGRAM] - ``` - -- The Trinket M0 board should restart and then begin running your program. - -### CLI Flashing on Windows +### CLI Flashing - Plug your Trinket M0 into your computer's USB port. - Flash your TinyGo program to the board using this command: diff --git a/content/microcontrollers/wioterminal.md b/content/microcontrollers/wioterminal.md index 819b60b2..02099b82 100644 --- a/content/microcontrollers/wioterminal.md +++ b/content/microcontrollers/wioterminal.md @@ -26,29 +26,7 @@ The [Seeed Wio Terminal](https://www.seeedstudio.com/Wio-Terminal-p-4509.html) i The Wio Terminal comes with the [UF2 bootloader](https://github.com/Microsoft/uf2) already installed. -### CLI Flashing on Linux - -- Plug your Wio Terminal into your computer's USB port. -- Flash your TinyGo program to the board using this command: - - ```shell - tinygo flash -target=wioterminal [PATH TO YOUR PROGRAM] - ``` - -- The Wio Terminal board should restart and then begin running your program. - -### CLI Flashing on macOS - -- Plug your Wio Terminal into your computer's USB port. -- Flash your TinyGo program to the board using this command: - - ```shell - tinygo flash -target=wioterminal [PATH TO YOUR PROGRAM] - ``` - -- The Wio Terminal board should restart and then begin running your program. - -### CLI Flashing on Windows +### CLI Flashing - Plug your Wio Terminal into your computer's USB port. - Flash your TinyGo program to the board using this command: diff --git a/content/microcontrollers/xiao.md b/content/microcontrollers/xiao.md index a710bbc7..beadfb04 100644 --- a/content/microcontrollers/xiao.md +++ b/content/microcontrollers/xiao.md @@ -26,29 +26,7 @@ The [Seeed Seeeduino XIAO](https://www.seeedstudio.com/Seeeduino-XIAO-Arduino-Mi The XIAO comes with the [UF2 bootloader](https://github.com/Microsoft/uf2) already installed. -### CLI Flashing on Linux - -- Plug your XIAO into your computer's USB port. -- Flash your TinyGo program to the board using this command: - - ```shell - tinygo flash -target=xiao [PATH TO YOUR PROGRAM] - ``` - -- The XIAO board should restart and then begin running your program. - -### CLI Flashing on macOS - -- Plug your XIAO into your computer's USB port. -- Flash your TinyGo program to the board using this command: - - ```shell - tinygo flash -target=xiao [PATH TO YOUR PROGRAM] - ``` - -- The XIAO board should restart and then begin running your program. - -### CLI Flashing on Windows +### CLI Flashing - Plug your XIAO into your computer's USB port. - Flash your TinyGo program to the board using this command: