Skip to content

Latest commit

 

History

History
52 lines (41 loc) · 1.84 KB

README.md

File metadata and controls

52 lines (41 loc) · 1.84 KB

ESP32

Device info

Product description:

Development board model: ESP32-DevKitC-32
Module model: ESP32-WROOM-32
Main control chip: ESP32-D0WDQ6-V3 dual-core 32bit MCU integrated WiFi, Bluetooth

Getting started with Thonny

  1. Install Thonny (flatpak version)
flatpak install flathub org.thonny.Thonny
  1. Download MicroPython firmware for ESP32.

  2. Flash the image on the board:

  • connect the board to the computer
  • open Thonny. Go to Tools > Options > Interpreter
  • select the interpreter (MicroPython(ESP32)) and the port and click Install or update firmware
  • on the screen that opens select the port (same as previous screen), click Browse to select the .bin downloaded file, for Flash mode select From image file (keep), select Erase flash before installing, click Install

esptool

Get port

dmesg | grep ttyUSB

Query port

esptool.py --port /dev/ttyUSB0 flash_id

Erase flash

esptool.py --port /dev/ttyUSB0 erase_flash

IMPORTANT: backup original flash.

sudo dnf remove brltty
sudo usermod -a -G dialout $USER # and reboot