Hello,
I want to flash esp32 without using the esptool.py because it uses python.
I want to be able to flash the binaries using only c.
is there a tool for that or do I need to port esptool.py myself?
flashing without the esptool.py
Re: flashing without the esptool.py
Hi dani619,
There's no officially supported C tool for flashing an ESP32. There have been some community projects but I'm unsure of their status, you can search the forum to find some discussion about them.
If you only need a way to run esptool without a separate Python environment installation, then the Arduino-ESP32 ships bundled versions of esptool.py as standalone executables for Windows, macOS, Linux. Download links can be found here:
https://github.com/espressif/arduino-es ... e.json#L97
There's no officially supported C tool for flashing an ESP32. There have been some community projects but I'm unsure of their status, you can search the forum to find some discussion about them.
If you only need a way to run esptool without a separate Python environment installation, then the Arduino-ESP32 ships bundled versions of esptool.py as standalone executables for Windows, macOS, Linux. Download links can be found here:
https://github.com/espressif/arduino-es ... e.json#L97
-
- Posts: 151
- Joined: Thu Jun 15, 2017 4:54 am
- Location: New Zealand
Re: flashing without the esptool.py
Unfortunately the Linux tarballs just contain `esptool.py` without any dependencies included, unlike the Windows (i686-mingw32) download which contains a standalone esptool.exe.the Arduino-ESP32 ships bundled versions of esptool.py as standalone executables for Windows, macOS, Linux
It would be nice to have a zero-dependency C utility for flashing the ESP32 since it could be integrated with other embedded software. Depending on Python is very heavy, and OTA isn't always an option.
-
- Posts: 9757
- Joined: Thu Nov 26, 2015 4:08 am
Re: flashing without the esptool.py
Note that this is an old post; since then we developed a C library specifically for flashing from other embedded devices.
-
- Posts: 151
- Joined: Thu Jun 15, 2017 4:54 am
- Location: New Zealand
Re: flashing without the esptool.py
Alright, this is exactly what I am looking for! Thank you. Although I only found it because of your reply... is this mentioned in the docs somewhere?
Re: flashing without the esptool.py
It is great news that flasher can be built as C app on any MCU, but what about fuse bits programming? I need this also.
Who is online
Users browsing this forum: No registered users and 322 guests