Flipper Zero app to flash ESP chips from the device (no computer connection needed!). Uses espressif's esp-serial-flasher library. Requires an ESP chip connected to the flipper's UART pins (e.g. Wi-Fi devboard). For information on how to connect, see the ESP pinout/wiring details on UberGuidoZ's GPIO section: https://github.com/UberGuidoZ/Flipper/tree/main/GPIO
Supported targets: ESP32 ESP8266 ESP32-S2 ESP32-S3 ESP32-C3 ESP32-C2 ESP32-H2
- Make sure you're logged in with github account (otherwise the downloads in step 2 won't work)
- Navigate to the FAP Build GitHub action workflow, and select the most recent run, scroll down to artifacts.
- The FAP is built for the
dev
andrelease
channels of both official and unleashed firmware. Download the artifact corresponding to your firmware version. - Extract
esp_flasher.fap
from the ZIP file downloaded in step 3 to your Flipper Zero SD card, preferably under Apps/GPIO along with the rest of the GPIO apps. (If you're using qFlipper to transfer files you need to extract the content of the ZIP file to your computer before you drag it to qFlipper, as qFlipper does not support direct dragging from a ZIP file (at least on Windows)).
From a local clone of this repo, you can also build the app yourself using ufbt.
Guide by @francis2054
Use at your own risk. This hardcodes addresses for ESP chips.
Example of how to flash marauder using this app:
- Make sure you follow the instructions for how to get the ESP flasher app on your Flipper Zero, they can be found on the top of this page. Latest release needs to be downloaded and installed.
- Go to Justcallmekoko's firmware page (or alternative ESP firmware) and download all files necessary for the board you are flashing, most boards will want all 4 files but for the Wi-Fi Devboard you want to download these 3 files:
0x1000
(Bootloader),0x8000
(partitions),0x10000
(Firmware). TheBoot App
is not needed for the Wi-Fi Devboard with this method. The Firmware one will redirect you to the releases page where you'll need to pick the one relevant to the board you're flashing, if you are using the official Wi-Fi Devboard you want to pick the one ending in_flipper_sd_serial.bin
. - Place all files downloaded in step 2 in a new folder on your desktop, the name does not matter. Rename the
_flipper_sd_serial.bin
file you downloaded in step 2 toFirmware.bin
. - Now for transferring the files to the Flipper Zero, drag all the files from the folder on your desktop to the "esp_flasher" folder inside "apps_data" folder on the Flipper Zero SD card. Preferred method to transfer these files is plugging the SD card into your computer with an adapter, but qFlipper works as well. Insert the Flipper Zero SD Card back into the Flipper before proceeding to the next step.
- Plug your Wi-Fi Devboard into the Flipper.
- Press and keep holding the boot button while you press the reset button once, release the boot button after 2 seconds.
- Open the ESP Flasher app on your Flipper Zero, it should be located under Apps->GPIO from the main menu if you followed the instructions for how to install the app further up on this page. (You might get an API mismatch error if the Flipper firmware you are running doesn't match the files you've downloaded, you can try "Continue" anyway, otherwise the app needs to be rebuilt or you might need to update the firmware on your Flipper).
- Select "Flash ESP".
- For "Bootloader" scroll down in the list and select
esp32_marauder.ino.bootloader.bin
, for "Paritition table" selectesp32_marauder.ino.partitions.bin
and for "Firmware" selectFirmware.bin
. - Scroll down and click "[>] FLASH" and wait for it to complete. (If you get errors here, press back button once and repeat step 6 then try "[>] FLASH" again).
- Once it says "Done flashing" on the screen, restart the Flipper and you are done :)
This process will improve with future updates! :)
For app feedback, bugs, and feature requests, please create an issue here.
You can find me (0xchocolate) on discord as @cococode.
If you'd like to donate to the app development effort:
ETH: 0xf32A1F0CD6122C97d8953183E53cB889cc087C9b
BTC: bc1qtw7s25cwdkuaups22yna8sttfxn0usm2f35wc3
If you found the app preinstalled in a firmware release, consider supporting the maintainers!