{"id":20857121,"url":"https://github.com/flipperdevices/blackmagic-esp32-s2","last_synced_at":"2025-04-04T07:05:40.326Z","repository":{"id":37080206,"uuid":"417002867","full_name":"flipperdevices/blackmagic-esp32-s2","owner":"flipperdevices","description":null,"archived":false,"fork":false,"pushed_at":"2024-06-05T14:13:15.000Z","size":1918,"stargazers_count":559,"open_issues_count":5,"forks_count":103,"subscribers_count":32,"default_branch":"dev","last_synced_at":"2025-03-28T06:03:46.618Z","etag":null,"topics":["blackmagic","esp32-s2","flipper","flipperzero"],"latest_commit_sha":null,"homepage":null,"language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/flipperdevices.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-10-14T05:42:32.000Z","updated_at":"2025-03-27T08:55:29.000Z","dependencies_parsed_at":"2023-09-23T15:23:08.063Z","dependency_job_id":"36760b32-56fb-4fe6-99d2-cc55d49041cb","html_url":"https://github.com/flipperdevices/blackmagic-esp32-s2","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flipperdevices%2Fblackmagic-esp32-s2","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flipperdevices%2Fblackmagic-esp32-s2/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flipperdevices%2Fblackmagic-esp32-s2/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flipperdevices%2Fblackmagic-esp32-s2/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/flipperdevices","download_url":"https://codeload.github.com/flipperdevices/blackmagic-esp32-s2/tar.gz/refs/heads/dev","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247135142,"owners_count":20889420,"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","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":["blackmagic","esp32-s2","flipper","flipperzero"],"created_at":"2024-11-18T04:36:19.170Z","updated_at":"2025-04-04T07:05:40.294Z","avatar_url":"https://github.com/flipperdevices.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Black Magic Probe / DapLink for ESP32-S2\n\nWiFi/USB capable version of the famous BlackMagicProbe (or DapLink) debugger.\n\n# Clone the Repository\n\nClone the repository with:\n```shell\ngit clone --recursive https://github.com/flipperdevices/blackmagic-esp32-s2.git\n```\n\nYou must recursively clone the submodules, which `--recursive` will do for you. When you pull new changes, be sure to run `git submodule update --init --recursive`.\n\n# Develop with ESP-IDF\n\nSet up __ESP-IDF v4.4__ following [Espressif's instructions](https://docs.espressif.com/projects/esp-idf/en/release-v4.4/esp32/get-started/index.html). Make sure `idf.py` is in your PATH and you can successfully run the program.\n\n## Build with ESP-IDF\n\nIn your clone of this repository, run:\n```shell\nidf.py build\n```\n\u003e Note: the `sdkconfig` file already configures the project to target the ESP32-S2. You don't need to run `idf.py set-target esp32s2`, which will overwrite some of the necessary settings in `sdkconfig`.\n\n## Flash with ESP-IDF\n\nConnect the dev board to your computer with a USB cable. Find the name of the serial port device on your computer that corresponds to the dev board. See the [Flipper Zero guide] on how to connect to the dev board over USB or [Espressif's guide](https://docs.espressif.com/projects/esp-idf/en/latest/esp32/get-started/establish-serial-connection.html) on how to find the port name.\n\nRun:\n```shell\nidf.py -p \u003cport\u003e flash\n```\n\n## Web interface development\n\nWeb interface is located in `components/svelte-portal` and written in Svelte. To build it, you need to install Node.js and run `npm install` in `components/svelte-portal` directory. Then you can run `npm run dev` to start development server or `npm run build` to build production version.\n\nTypical workflow is to fix the board's IP address in `components/svelte-portal/src/lib/Api.svelte` and then run `npm run dev`. After that, you can open `http://localhost:5000` in your browser and see changes in the web interface in real time with live reload.\n\nIf you want to change local ip or port, you need to run `export HOST={ip} PORT={port}` before `npm run dev`. \n\n```shell\nexport HOST=127.0.0.1 PORT=3000\nnpm run dev\n```\n\nWhen you're done, you need to run `npm run build`, `idf.py build` and then `idf.py -p \u003cport\u003e flash`. You can then open `http://blackmagic.local` in your browser and see the changes in the web interface.\n```shell\nnpm run build\nidf.py build\nidf.py -p \u003cport\u003e flash\n```\n\n\n## Schematic\n\n[Flipper Zero Wi-Fi Module Schematic](https://cdn.flipperzero.one/Flipper_Zero_WI-FI_Module_V1_Schematic.PDF)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflipperdevices%2Fblackmagic-esp32-s2","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fflipperdevices%2Fblackmagic-esp32-s2","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflipperdevices%2Fblackmagic-esp32-s2/lists"}