You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/06-cli-getting-started.md
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@ For now, you need to use the Arduino CLI to upload sketches made with the Arduin
8
8
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.
9
9
10
10
## 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.
12
12
13
13
Make a new folder in your `Documents` folder, and name it `CLI`, extract the files from the .zip archive to this folder.
14
14
@@ -19,7 +19,7 @@ Unlike the file explorer where you click the folder you want to go to, navigatin
19
19
20
20
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>`
21
21
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:
23
23
```
24
24
cd Documents
25
25
```
@@ -57,15 +57,15 @@ arduino-cli
57
57
If you get a list of all the available commands, everything is as it should, and you can move on to the next step.
58
58
59
59
## 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:
61
61
```
62
62
arduino-cli board list
63
63
```
64
64
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.
65
65
66
66

67
67
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.
69
69
70
70
## Installing cores
71
71
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
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.
0 commit comments