{"id":14978462,"url":"https://github.com/hanhdt/esp32-flash-tool","last_synced_at":"2025-08-20T16:31:59.769Z","repository":{"id":36446229,"uuid":"180895578","full_name":"hanhdt/esp32-flash-tool","owner":"hanhdt","description":"A simplify flashing tool of ESP32 boards on multiple platforms.","archived":false,"fork":false,"pushed_at":"2023-12-11T21:26:38.000Z","size":13143,"stargazers_count":153,"open_issues_count":13,"forks_count":15,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-04-07T17:53:51.599Z","etag":null,"topics":["desktop-app","electronjs","esp32","iot-device","vuejs"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hanhdt.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-04-11T23:50:59.000Z","updated_at":"2025-04-01T02:26:47.000Z","dependencies_parsed_at":"2023-02-18T13:30:15.836Z","dependency_job_id":null,"html_url":"https://github.com/hanhdt/esp32-flash-tool","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/hanhdt/esp32-flash-tool","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hanhdt%2Fesp32-flash-tool","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hanhdt%2Fesp32-flash-tool/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hanhdt%2Fesp32-flash-tool/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hanhdt%2Fesp32-flash-tool/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hanhdt","download_url":"https://codeload.github.com/hanhdt/esp32-flash-tool/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hanhdt%2Fesp32-flash-tool/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271349647,"owners_count":24744319,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-20T02:00:09.606Z","response_time":69,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["desktop-app","electronjs","esp32","iot-device","vuejs"],"created_at":"2024-09-24T13:57:44.305Z","updated_at":"2025-08-20T16:31:58.484Z","avatar_url":"https://github.com/hanhdt.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ESP32 Flash Tool\n\nA desktop application for flashing production ESP32 firmware. App suports multiple platforms (Windows, MacOS, Linux)\n\n![ESP32 Flash Tool](/esp32-flash-tool.png)\n\n## Motivation\n\nSimplify settings, clean UI and focus on mass manufacturing process where development and manufacturing are separated steps.\n\n## Dependencies install\n\n- Node v14.19.1\n- Python v2.7\n- ESP32 Flash Tool depends on pySerial version 3.0 or newer for serial communication with the target device. Hence, you should install `Python` before start run the app.\n\nTo install pySerial manually by running something like:\n\n```Shell\n$pip install pyserial\nor\n$easy_install pyserial\nor\n$apt-get install python-serial\n```\n\ndepending on your platform. (The official pySerial installation instructions are [here](https://pyserial.readthedocs.org/en/latest/pyserial.html#installation)).\n\n## How to build from source?\n\n### Install dependencies\n\n```Shell\n$npm install\n```\n\n### Build app\n\n```Shell\n$npm run build\n```\n\n### Run app locally\n\n```Shell\n$npm run dev\n```\n\n### Package app\n\n```Shell\n$npm run package\n```\n\n## Firmware manufacturing process\n\nImagine you have at least 5 steps from firmware development to flashing firmware into production board. The app would be used at **Step 5** in the process flowing:\n\n![Firmware Manufacturing Process](/esp32-firmware-manufacturing-process.png)\n\n- Step 1: Develop \u0026 build firmware, you can use [ESP32-IDF](https://github.com/espressif/esp-idf) or [Andruino core for esp32](https://github.com/espressif/arduino-esp32)\n\n- Step 2: Build and get signed binary files\n\n- Step 3: Create factory data specific binary file by using command line tools such as [NVS Partition Generator Utility](https://docs.espressif.com/projects/esp-idf/en/latest/api-reference/storage/nvs_partition_gen.html#nvs-partition-generator-utility), [Manufacturing Utility](https://docs.espressif.com/projects/esp-idf/en/latest/api-reference/storage/mass_mfg.html)\n\n- Step 4: [Compress all binaries file into a single zip with `parititions.csv`](#create-a-single-compressed-file-for-esp32-flash-tool) specify binaries' offsets.\n\n- Step 5: **Flash to ESP32 board by ESP32 Flash Tool**\n\n## Create a single compressed file for ESP32 Flash Tool\n\nESP32 flash tool uses a single zipped file for flashing, just simply collect all required binaries, and create `partitions.csv` in the same folder then compress all into a zip file.\n\n## `partitions.csv` file format\n\nESP32 flash tool uses `partitions.csv` for identifying offsets of binary blobs.\nSample of `partitions.csv` will be:\n\n```CSV\nid,name,offset\n1,bootloader.bin,0x1000\n2,ota_data_initial.bin,0xd000\n3,partitions.bin,0xf000\n4,device-00001.bin,0x10000\n5,app.bin,0x20000\n```\n\n---\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhanhdt%2Fesp32-flash-tool","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhanhdt%2Fesp32-flash-tool","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhanhdt%2Fesp32-flash-tool/lists"}