Manage the Arduino ESP32 boards¶
The Arduino ESP32 platform includes the Arduino Nano ESP32 board.
Although also supported by the Espressif platform, the Arduino Nano ESP32 board uses a specific protocol for upload.
Install¶
To install the Arduino ESP32 boards,
To install the Arduino SAM boards,
-
Ensure Arduino-CLI is installed.
-
Open a Terminal window.
-
Run
$ |
|
Upload with dfu-util¶
The Arduino Nano ESP32 uses a specific uploader.
On Linux, the device table needs to be updated.
- Launch
sudo nano /etc/udev/rules.d/99-arduino.rules
- Add the following line.
SUBSYSTEMS=="usb", ATTRS{idVendor}=="2341", GROUP="plugdev", MODE="0666"
- Reload the devices table.
sudo udevadm control --reload-rules
For more information on udev
rules,
- Please refer to Fix udev rules on Linux .
Develop¶
Use the libraries for WiFi¶
Use the libraries for Bluetooth¶
Use the libraries for SD¶
Upload¶
The Arduino Nano ESP32 board uses a specific protocol for upload, dfu-util
, instead of the standard esptool
.
If the RGB LED is not green, double-press on the RESET button.
In case the board remains unresponsive,
- Please follow the procedure Reset the Arduino bootloader on the Nano ESP32 .