Skip to content

Commit e828e16

Browse files
committed
rebase
1 parent a20e550 commit e828e16

File tree

10 files changed

+214
-273
lines changed

10 files changed

+214
-273
lines changed
Lines changed: 214 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: 'Using the Board Manager'
2+
title: 'Installing a Board Package in the IDE 2'
33
difficulty: beginner
44
description: 'Learn how the new board manager tool works, and how to easily install the boards you want to use in the Arduino IDE 2.'
55
tags:
@@ -8,52 +8,250 @@ tags:
88
author: 'Karl Söderby & Jacob Hylén'
99
---
1010

11-
The board manager is a great tool for installing the necessary cores to use your Arduino boards. In this quick tutorial, we will take a look at how to install one, and choosing the right core for your board!
11+
The board manager is a great tool for installing the necessary board packages to use your Arduino boards. In this quick tutorial, we will take a look at how to install one, and choosing the right package for your board!
1212

13-
You can easily download the editor from the [Arduino Software page](https://www.arduino.cc/en/software).
13+
You can easily download the editor from the [Arduino Software page](https://www.arduino.cc/en/software).
1414

1515
You can also follow the [downloading and installing the Arduino IDE 2](/software/ide-v2/tutorials/getting-started/ide-v2-downloading-and-installing) tutorial for more detailed guide on how to install the editor.
1616

1717
## Requirements
1818

19-
- Arduino IDE 2 installed.
19+
- Arduino IDE 2 installed.
2020

2121
## Why Use the Board Manager?
2222

23-
The board manager is a tool that is used to install different cores on your local computer. So what is a **core**, and why is it necessary that I install one?
23+
The board manager is a tool that is used to install different board packages on your local computer. So what is a **board package**, and why is it necessary that I install one?
2424

25-
Simply explained, a core is written and designed for specific microcontrollers. Arduino offers several different types of boards, and these boards may also have different types of microcontrollers. While different microcontrollers accomplish tasks in similar ways, the way code is compiled, pins are mapped, and what features are available is tailor-made to the silicon itself, meaning that this will also be microcontroller-specific.
25+
Simply explained, a board package is written and designed for specific microcontrollers. Arduino offers several different types of boards, and these boards may also have different types of microcontrollers. While different microcontrollers accomplish tasks in similar ways, the way code is compiled, pins are mapped, and what features are available is tailor-made to the silicon itself, meaning that this will also be microcontroller-specific.
2626

27-
What a core does is to act as a layer between all of this microcontroller-specific jargon, and you - the maker. The core translates it into the Arduino API you are already familiar with so that you can program any of the microcontrollers in the Arduino ecosystem in the same way.
27+
What a board package does is to act as a layer between all of this microcontroller-specific jargon, and you - the maker. The board package translates it into the Arduino API you are already familiar with so that you can program any of the microcontrollers in the Arduino ecosystem in the same way.
2828

29-
For example, an Arduino UNO has an **ATmega328P**, which uses the **AVR core**, while an Arduino Nano 33 IoT has a **SAMD21** microcontroller, where we need to use the **SAMD core**. However, regardless of what microcontroller is on the board we are using, `digitalWrite(LED_BUILTIN, HIGH)` will turn on the built-in LED, and `analogRead(A0)` will read the analog pin 0 and check for a voltage.
29+
For example, an Arduino UNO has an **ATmega328P**, which uses the **AVR package**, while an Arduino Nano 33 IoT has a **SAMD21** microcontroller, where we need to use the **SAMD package**. However, regardless of what microcontroller is on the board we are using, `digitalWrite(LED_BUILTIN, HIGH)` will turn on the built-in LED, and `analogRead(A0)` will read the analog pin 0 and check for a voltage.
3030

31-
In conclusion, to use a specific board, we need to install a specific core.
31+
In conclusion, to use a specific board, we need to install a specific board package.
3232

33-
## Installing a Core
33+
## Installing a Board Package
3434

35-
Installing a core is quick and easy, but let's take a look at what we need to do.
35+
Installing a board package is quick and easy, but let's take a look at what we need to do.
3636

37-
**1.** Open the Arduino IDE 2.
37+
**1.** Open the Arduino IDE 2.
3838

3939
**2.** With the editor open, let's take a look at the left column. Here, we can see a couple of icons. Let's click the on the **Arduino board** icon.
4040

4141
![The board manager.](assets/installing-a-core-img01.png)
4242

43-
**3.** A list will now appear of all available cores. Now let's say we are using an **Nano 33 BLE** board, and we want to install the core. Simply enter the name in the search field, and the right core (Mbed OS Nano) will appear, where the Nano 33 BLE features in the description. Click on the **"INSTALL"** button.
43+
**3.** A list will now appear of all available packages. Now let's say we are using an **Nano 33 BLE** board, and we want to install the board package. Simply enter the name in the search field, and the right package (Mbed OS Nano) will appear, where the Nano 33 BLE features in the description. Click on the **"INSTALL"** button.
4444

4545
![Navigating the board manager.](assets/installing-a-core-img02.png)
4646

47-
**4.** This will begin an installation process, which usually only take a few moments.
47+
**4.** This will begin an installation process, which usually only take a few moments.
4848

4949
![Installation may take a few minutes.](assets/installing-a-core-img03.png)
5050

5151
**5.** When it is finished, we can take a look at the core in the boards manager column, where it should say **"INSTALLED"**, as well as noting which version you have installed on your machine.
5252

5353
![Board is installed.](assets/installing-a-core-img04.png)
5454

55-
Congratulations! You have now successfully downloaded and installed a core on your machine, and you can start using your Arduino board!
55+
Congratulations! You have now successfully downloaded and installed a board package on your machine, and you can start using your Arduino board!
5656

57-
### More Tutorials
57+
### Changing version
58+
59+
In some specific use cases you might want to downgrade the version of a board package that you have on your machine. Thankfully, the Arduino IDE has built in support to let you jump between versions with a breeze.
60+
61+
To change the installed version of a boards package, follow these steps:
62+
63+
- Open the boards manager
64+
![Boards manager](./assets/installing-a-core-img01.png)
65+
66+
- Search for the name of the package you want to change
67+
![Boards manager](./assets/installing-a-core-img05.png)
68+
69+
- Select your desired version in the drop down menu
70+
![Boards manager](./assets/installing-a-core-img06.png)
71+
72+
- Press "INSTALL"
73+
![Boards manager](./assets/installing-a-core-img07.png)
74+
75+
And that should be it!
76+
77+
To make sure that the process was successful, cross check what version is installed by looking at this little tag right underneath the package name.
78+
![Boards manager](./assets/installing-a-core-img08.png)
79+
80+
## What Board Package Should I Install?
81+
82+
Do you have an Arduino board in your hands, but are not sure what board package you need to install? When you plug a board in to your computer, and you don't have the appropriate board package installed, the IDE should automatically prompt you to install it. But, in case you need it anyways, you can find a list of boards and the board packages they belong to below:
83+
84+
### AVR
85+
86+
The **AVR boards package** is based on the **Arduino AVR Core**, and includes the following boards:
87+
88+
- [UNO R3](/hardware/uno-rev3)
89+
- [UNO R3 SMD](/hardware/uno-rev3-smd)
90+
- [UNO Mini Limited Edition](/hardware/uno-mini-le)
91+
- [Leonardo](/hardware/leonardo)
92+
- [Micro](/hardware/micro)
93+
- [Nano](/hardware/nano)
94+
- [Mega 2560](/hardware/mega-2560)
95+
96+
The **AVR board package** comes pre-installed when you download the Arduino IDE, so if you have one of these boards - Great! You're already done and won't need to install it yourself. You can, however, still find it in the board manager if you want to change what version of the board package you have installed. For detailed instructions on how to do this, [follow the steps above](#installing-a-board-package).
97+
98+
For source code and reporting issues, please visit the official GitHub repository:
99+
100+
- [ArduinoCore-avr](https://github.com/arduino/ArduinoCore-avr)
101+
102+
### MegaAVR
103+
104+
The **MegaAVR Boards package** is based on the **Arduino AVR Core**, and includes the following boards:
105+
106+
- [UNO WiFi Rev2](/hardware/uno-wifi-rev2)
107+
- [Nano Every](/hardware/nano-every)
108+
109+
You can install this package in the board manager by searching for "**Arduino MegaAVR Boards**". For detailed instructions, see the [Installing a Board Package section](#installing-a-board-package).
110+
111+
For source code and reporting issues, please visit the official GitHub repository:
112+
113+
- [ArduinoCore-megaavr](https://github.com/arduino/ArduinoCore-megaavr)
114+
115+
### UNO R4
116+
117+
The **UNO R4 Boards** package is based on the **Arduino Renesas Core**, and includes the following boards:
118+
119+
- [UNO R4 Minima](/hardware/uno-r4-minima)
120+
- [UNO R4 WiFi](/hardware/uno-r4-wifi)
121+
122+
You can install this package in the board manager by searching for "**Arduino UNO R4 Boards**". For detailed instructions, see the [Installing a Board Package section](#installing-a-board-package).
123+
124+
For source code and reporting issues, please visit the official GitHub repository:
125+
126+
- [ArduinoCore-renesas](https://github.com/arduino/ArduinoCore-renesas)
127+
128+
### SAM
129+
130+
The **SAM Boards** package is based on the **Arduino SAM Core**, and includes the following boards:
131+
132+
- [Due](/hardware/due)
133+
134+
You can install this package in the board manager by searching for "**Arduino SAM Boards**". For detailed instructions, see the [Installing a Board Package section](#installing-a-board-package).
135+
136+
For source code and reporting issues, please visit the official GitHub repository:
137+
138+
- [ArduinoCore-sam](https://github.com/arduino/ArduinoCore-sam)
139+
140+
### SAMD
141+
142+
The **SAMD Boards** package is based on the **Arduino SAMD Core**, and includes the following boards:
143+
144+
- [Zero](/hardware/zero)
145+
- [Nano 33 IoT](/hardware/nano-33-iot)
146+
- [MKR 1000 WiFi](/hardware/mkr-1000-wifi)
147+
- [MKR Zero](/hardware/mkr-zero)
148+
- [MKR WiFi 1010](/hardware/mkr-wifi-1010)
149+
- [MKR FOX 1200](/hardware/mkr-fox-1200)
150+
- [MKR WAN 1300](/hardware/mkr-wan1300)
151+
- [MKR WAN 1310](/hardware/mkr-wan1310)
152+
- [MKR GSM 1400](/hardware/mkr-gsm-1400)
153+
- [MKR NB 1500](/hardware/mkr-nb-1500)
154+
- [MKR Vidor 4000](/hardware/mkr-vidor-4000)
155+
156+
157+
You can install this package in the board manager by searching for "**Arduino SAMD Boards**". For detailed instructions, see the [Installing a Board Package section](#installing-a-board-package).
158+
159+
For source code and reporting issues, please visit the official GitHub repository:
160+
161+
- [ArduinoCore-samd](https://github.com/arduino/ArduinoCore-samd)
162+
163+
### Mbed OS GIGA
164+
165+
The **Mbed OS GIGA Boards** package is based on the **Arduino Mbed Core**, and includes the following boards:
166+
167+
- [GIGA R1 WiFi](/hardware/giga-r1-wifi)
168+
169+
You can install this package in the board manager by searching for "**Arduino Mbed OS GIGA Boards**". For detailed instructions, see the [Installing a Board Package section](#installing-a-board-package).
170+
171+
For source code and reporting issues, please visit the official GitHub repository:
172+
173+
- [ArduinoCore-mbed](https://github.com/arduino/ArduinoCore-mbed)
174+
175+
### Mbed OS Nano
176+
177+
The **Mbed OS Nano Boards** package is based on the **Arduino Mbed Core**, and includes the following boards:
178+
179+
- [Nano RP2040 Connect](/hardware/nano-rp2040-connect)
180+
- [Nano 33 BLE](/hardware/nano-33-ble)
181+
- [Nano 33 BLE Sense](/hardware/nano-33-ble-sense)
182+
- [Nano 33 BLE Sense Rev2](/hardware/nano-33-ble-sense-rev2)
183+
184+
You can install this package in the board manager by searching for "**Arduino Mbed OS Nano Boards**". For detailed instructions, see the [Installing a Board Package section](#installing-a-board-package).
185+
186+
For source code and reporting issues, please visit the official GitHub repository:
187+
188+
- [ArduinoCore-mbed](https://github.com/arduino/ArduinoCore-mbed)
189+
190+
### Mbed OS Portenta
191+
192+
The **Mbed OS Portenta Boards** package is based on the **Arduino Mbed Core**, and includes the following boards:
193+
194+
- [Portenta H7](/hardware/portenta-h7)
195+
- [Portenta H7-lite](/hardware/portenta-h7-lite)
196+
- [Portenta H7-lite-connected](/hardware/portenta-h7-lite-connected)
197+
- [Portenta X8](/hardware/portenta-x8)
198+
199+
You can install this package in the board manager by searching for "**Arduino Mbed OS Portenta Boards**". For detailed instructions, see the [Installing a Board Package section](#installing-a-board-package).
200+
201+
For source code and reporting issues, please visit the official GitHub repository:
202+
203+
- [ArduinoCore-mbed](https://github.com/arduino/ArduinoCore-mbed)
204+
205+
### Mbed OS Nicla
206+
207+
The **Mbed OS Nicla Boards** package is based on the **Arduino Mbed Core**, and includes the following boards:
208+
209+
- [Nicla Sense ME](/hardware/nicla-sense-me)
210+
- [Nicla Vision](/hardware/nicla-vision)
211+
- [Nicla Voice](/hardware/nicla-voice)
212+
213+
You can install this package in the board manager by searching for "**Arduino Mbed OS Nicla Boards**". For detailed instructions, see the [Installing a Board Package section](#installing-a-board-package).
214+
215+
For source code and reporting issues, please visit the official GitHub repository:
216+
217+
- [ArduinoCore-mbed](https://github.com/arduino/ArduinoCore-mbed)
218+
219+
### Mbed OS Edge boards
220+
221+
The **Mbed OS Edge Boards** package is based on the **Arduino Mbed Core**, and includes the following boards:
222+
223+
- [Edge Control](/hardware/edge-control)
224+
225+
You can install this package in the board manager by searching for "**Arduino Mbed OS Edge Boards**". For detailed instructions, see the [Installing a Board Package section](#installing-a-board-package).
226+
227+
For source code and reporting issues, please visit the official GitHub repository:
228+
229+
- [ArduinoCore-mbed](https://github.com/arduino/ArduinoCore-mbed)
230+
231+
### Renesas Portenta
232+
233+
The **Renesas Portenta Boards** package is based on the **Arduino Renesas Core**, and includes the following boards:
234+
235+
- [Portenta C33](/hardware/portenta-c33)
236+
237+
You can install this package in the board manager by searching for "**Arduino Renesas Portenta Boards**". For detailed instructions, see the [Installing a Board Package section](#installing-a-board-package).
238+
239+
For source code and reporting issues, please visit the official GitHub repository:
240+
241+
- [ArduinoCore-renesas](https://github.com/arduino/ArduinoCore-renesas)
242+
243+
### ESP32
244+
245+
The **ESP32 Boards** package is based on the **Arduino-esp32 Core**, and includes the following boards:
246+
247+
- [Nano ESP32](/hardware/nano-esp32)
248+
249+
You can install this package in the board manager by searching for "**Arduino ESP32 Boards**". For detailed instructions, see the [Installing a Board Package section](#installing-a-board-package).
250+
251+
For source code and reporting issues, please visit the official GitHub repository:
252+
253+
- [Arduino-esp32](https://github.com/arduino/arduino-esp32)
254+
255+
## More Tutorials
58256

59257
You can find more tutorials in the [Arduino IDE 2 documentation page](/software/ide-v2/).

0 commit comments

Comments
 (0)