summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorYuval Adam <_@yuv.al>2021-12-16 21:24:37 +0200
committerYuval Adam <_@yuv.al>2021-12-16 21:24:37 +0200
commit02ec8cc85eee4b12bf71a7aa1c1a39943e764749 (patch)
treebdb5cd0df44e4a2ef2bed8305767550b660d4fa4 /README.md
Initial files
Diffstat (limited to 'README.md')
-rw-r--r--README.md33
1 files changed, 33 insertions, 0 deletions
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..a50c40b
--- /dev/null
+++ b/README.md
@@ -0,0 +1,33 @@
+# Wio Terminal OS
+
+## Prerequisites
+
+Install [`arduino-cli`](https://github.com/arduino/arduino-cli).
+
+## Setup
+
+Update the local indexes:
+
+```bash
+$ arduino-cli core update-index
+```
+
+Connect the Wio Terminal and ensure it shows up:
+
+```bash
+$ arduino-cli board list
+Port Protocol Type Board Name FQBN Core
+/dev/ttyACM0 serial Serial Port (USB) Seeeduino Wio Terminal Seeeduino:samd:seeed_wio_terminal Seeeduino:samd
+```
+
+Compile the sketch:
+
+```bash
+$ arduino-cli compile --fqbn Seeeduino:samd:seeed_wio_terminal HelloWorld
+```
+
+Upload it:
+
+```bash
+$ arduino-cli upload -p /dev/ttyACM0 --fqbn Seeeduino:samd:seeed_wio_terminal HelloWorld
+```