This took way more time than planned to get working: ESP32 Dev Kit microcontroller programmed from the command-line, using esptool and platformio running in a Python venv.

Inspired by https://github.com/rgl/platformio-esp32-arduino-hello-world

#esp32 #esptool #platformio #arduino #python

ServiceToot: If anyone ever (like me) is totally puzzled on why both the debian package as well as the pip package of *esptool* crashes with a missing file error if you want to flash an ESP32: get the file from https://github.com/espressif/esptool/tree/v4.7.0/esptool/targets/stub_flasher (search the exact version 4.7.0, main doesn't have it) and copy it manually.
Maintainers are discussing if they should wait for the toolchain to build the file themselves or ship as a separate non-free package since 2+ years.

#esptool #esp32 #debian

How to Unbrick Your ESP8266 NodeMCU on Linux Easily

Learn how to unbrick your ESP8266 NodeMCU using esptool.py on Linux in just a few simple steps!

CubicleNate's Techpad

Possible answer: a faulty ESP32-S3 - we'll see what Core Electronics says tomorrow.

#AskFedi #ESP32 #Espressif #PlatformIO #ESPTool

What is

Cannot configure port, something went wrong. Original message: PermissionError(13, 'The device does not recognize the command.', None, 22)?

This happens about 20% through an upload to an ESP32-S3

@syaochan omgomgomgomgomg

I realized that I was running #esptool installed from the #debian repo, not via `pip install`. So I did that.

1. 2.8 -> 4.5.1
2. No longer need to hold the boot button down
3. erase_flash works
4. *** SO DOES THE BOARD ***

#PraiseTheLord #TimeForNewErrorMessages #microcontroller #micropython #python #esp32

Fine, I just got started with the #arduinoIDE to do some stuff with #arduino and #ESP chips 💪

But is there a go-to setup to work and build with your favourite editor on a mac?
I am just exploring some #esptool or #mpython things but I am still very new to the party and don't know if there is a common way to develop your micro programs.

Would be great if you'd share your way to from writing, building and deploying your apps.

P.S. windows or linux desktop are also fine😬

#EspTool es la herramienta universal para flashear el firmware de todos los micros de @[email protected] #ESP8266 #ESP32. #DevCon22
EDC22 Day 2 Talk 10: http://esptool.py Espressif's Swiss Army Knife https://buff.ly/3TAQiTC