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
When compiling or uploading code, this error will occur if no board is selected, or if the board core is not installed.
12
+
The error occurs if no board has been selected.
13
13
14
-
Note that a board needs to be selected even if you're not uploading any code.
14
+
Note that a board needs to be selected even if you're not uploading any code (i.e. clicking  Verify).
15
15
16
-
## Is a board selected?
16
+
## Select board
17
17
18
-
Since the code cannot compile without a board selected, we'll start by ensuring just that.
18
+
With IDE 2, you can use the board selector menu:
19
19
20
-

20
+
* Connected boards that were identified by Arduino IDE will appear in the list.
21
+
* To manually select the board, or to select a board without connecting it, choose _Select other board and port_.
21
22
22
-
It should be looking somewhat like the above. The name of your board should be visible in the board dropdown bar. There may also be a red cross. This indicates that the board isn't available on any port but this will not prevent the code from compiling.
23
+

23
24
24
-
If it reads `no board selected`, a board needs to be selected. Click to open the dropdown.
25
+
Alternatively, use the _Tools > Board_ menu option:
25
26
26
-

27
+

27
28
28
-
If you have a board plugged in, and you want to write code for that board, you can choose it in the dropdown. Otherwise, choose 'Select Other Board & Port'.
29
+
See [Select board and port in Arduino IDE](https://support.arduino.cc/hc/en-us/articles/4406856349970-Select-board-and-port-in-Arduino-IDE) to learn more.
In this case, choose 'Yes' to have the required core installed.
39
-
40
-
## Is the board core installed?
37
+
In this case, choose **Yes** to install the required core.
41
38
42
-
In the above example, we used the pop-up to install the required core. If you didn't receive a pop-up, or if you're receiving the same error despite a board being selected, please ensure the *board core* is installed using [this guide](https://www.arduino.cc/en/Tutorial/getting-started-with-ide-v2/ide-v2-board-manager#installing-a-core).
39
+
To learn more about board installation, see [Add boards to Arduino IDE](https://support.arduino.cc/hc/en-us/articles/360016119519-Add-boards-to-Arduino-IDE).
0 commit comments