From 46ee8221808b822867ff25802ee773dfa8d7e7c8 Mon Sep 17 00:00:00 2001 From: Ian Mancini Date: Fri, 17 Dec 2021 19:50:22 -0300 Subject: [PATCH] Update README instructions --- README.md | 22 ++++++++++++++++++++-- 1 file changed, 20 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 9a3c98d..8563789 100644 --- a/README.md +++ b/README.md @@ -4,5 +4,23 @@ ## Flash instructions 1. Install Anet board definition for Arduino IDE from `./anet-board` ([Source](https://github.com/SkyNet3D/anet-board)) -2. Install LiquidCrystal library for Arduino using the IDE library manager -3. Flash selecting `Anet V1.0 (Optiboot)` as board + +## Arduino IDE + +2. Flash selecting `Anet V1.0 (Optiboot)` as board + +## Arduino CLI + +2. From the root of the repository, compile with + +```sh +arduino-cli compile --fqbn anet:avr:aneto Marlin +``` + +3. Flash using + +```sh +arduino-cli upload -p /dev/ttyUSB0 --fqbn anet:avr:aneto Marlin +``` + +(Replace `/dev/ttyUSB0` with corresponding device)