Skip to content

Commit 7dc4b7c

Browse files
committed
Update 06-cli-getting-started.md
1 parent 5c32b6e commit 7dc4b7c

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

docs/06-cli-getting-started.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ For now, you need to use the Arduino CLI to upload sketches made with the Arduin
88
This document will help you get started, showing you how to find all the information you need to get off the ground without needing to go in depth and learn everything there is to know about the CLI.
99

1010
## Installing
11-
Installing the Arduino CLI is really just as simple as downloading it and extracting the files from the .zip archive, once it is on your computer it is installed. However, to keep your workflow tidy and organised, we recommend moving it to directory with a short path. If you have been using the Arduino IDE, most likely the files are stored in your `Documents` folder, so let's put the CLI files in the same place.
11+
Installing the Arduino CLI is really just as simple as downloading it and extracting the files from the .zip archive, once it is on your computer it is installed. However, to keep your workflow tidy and organized, we recommend moving it to directory with a short path. If you have been using the Arduino IDE, most likely the files are stored in your `Documents` folder, so let's put the CLI files in the same place.
1212

1313
Make a new folder in your `Documents` folder, and name it `CLI`, extract the files from the .zip archive to this folder.
1414

@@ -19,7 +19,7 @@ Unlike the file explorer where you click the folder you want to go to, navigatin
1919

2020
When you open up a command prompt window, you should be started in the root directory of your user profile, you can see in what folder you are by looking at the path text right where you enter your commands. Because you're started at the root of your user profile, the path should say `C:\Users\<your name>`
2121

22-
Inside of this root folder there are other folders, if I want to go into the `Documents` folder, instead of clicking on it like you would do in the file explorer, you write the command:
22+
Inside of this root folder there are other folders, if you want to go into the `Documents` folder, instead of clicking on it like you would do in the file explorer, you write the command:
2323
```
2424
cd Documents
2525
```
@@ -57,15 +57,15 @@ arduino-cli
5757
If you get a list of all the available commands, everything is as it should, and you can move on to the next step.
5858

5959
## Finding information about your board
60-
To compile sketches and to upload to your Arduino board, you need to know some information about the board you have connected, in this step we're gonna find all the information we need. Connect your Arduino board to your computer, and execute the command:
60+
To compile sketches and to upload to your Arduino board, you need to know some information about the board you have connected, in this step we're going to find all the information we need. Connect your Arduino board to your computer, and execute the command:
6161
```
6262
arduino-cli board list
6363
```
6464
If your board was found, you will get a bunch of information about it. The information we're interested in is the `FQBN`, and the port. `FQBN` stands for "Fully Qualified Board Name", and is how the computer refers to the board, the port is like an address for the board.
6565

6666
![Board list](./assets/boardlist.png)
6767

68-
If you are, like me, using an Arduino Nano 33 BLE Sense, the `FQBN` will be `arduino:mbed_nano:nano33ble`, and we need to specify everytime we are compiling and uploading sketches, that they need to be compiled for this board, just like we do in the IDE.
68+
If you are, like we are, using an Arduino Nano 33 BLE Sense, the `FQBN` will be `arduino:mbed_nano:nano33ble`, and we need to specify every time we are compiling and uploading sketches, that they need to be compiled for this board, just like we do in the IDE.
6969

7070
## Installing cores
7171
If you have already used your Arduino board with the IDE, you can skip this step entirely. Otherwise, there are some files you may need to install to be able to use the board. But don't worry, it's just one command. The Arduino Nano 33 BLE Sense uses the `arduino:mbed_nano` core, which is another piece of information that we got from the last command we executed, so we need to install that before using the board.
@@ -95,7 +95,7 @@ The final steps to do are to compile and to upload the sketch. We'll do this wit
9595
```
9696
arduino-cli compile --fqbn arduino:mbed_nano:nano33ble MySketch
9797
```
98-
Once you execute this command, it's gonna start compiling unless something went wrong. If it looks like nothing is happening - Great! That probably means that everything is going as it should. Depending on the core, compiling might take a few minutes. Be patient, it may seem like it's taking too long, but give it time. Eventually, you'll get a statement about the memory use, libraries included, and platform used.
98+
Once you execute this command, it's going to start compiling unless something went wrong. If it looks like nothing is happening - Great! That probably means that everything is going as it should. Depending on the core, compiling might take a few minutes. Be patient, it may seem like it's taking too long, but give it time. Eventually, you'll get a statement about the memory use, libraries included, and platform used.
9999

100100
![Compiled sketch statement](./assets/compiled.png)
101101

0 commit comments

Comments
 (0)