Mirror of flipperdevices/blackmagic-esp32-s2@github.com
Go to file
Sergey Gavrilov b182ceffe9
Dap-link support mode (#18)
* DAP-link usb driver
* Blackmagic glue works
* Blackmagic on wifi interface and dap on usb
* Wifi: disabled mode, USB: BM/DAP mode, SWD: access lock
* USB config via cli
* Web interface: mobile friendly
2023-02-10 00:57:03 +10:00
.github/workflows Dap-link support mode (#18) 2023-02-10 00:57:03 +10:00
components Dap-link support mode (#18) 2023-02-10 00:57:03 +10:00
main Dap-link support mode (#18) 2023-02-10 00:57:03 +10:00
scripts Scripts: fix for macOS 2021-11-25 15:37:49 +03:00
.clang-format Add clang-format 2021-10-14 15:41:05 +10:00
.gitattributes Initial commit 2021-10-14 14:03:42 +10:00
.gitignore Welcome, CI 2021-11-23 20:19:32 +03:00
.gitmodules Dap-link support mode (#18) 2023-02-10 00:57:03 +10:00
CMakeLists.txt NVS save/load string value 2021-11-01 05:59:10 +10:00
LICENSE Initial commit 2021-10-14 14:03:42 +10:00
README.md Fix the link that leads to schematics (#15) 2022-07-27 18:55:13 +03:00
partitions.csv Increase app partition 2021-11-01 06:00:52 +10:00
sdkconfig Add MDNS hostname as a config element (#17) 2022-10-28 09:41:29 +10:00

README.md

Black Magic Probe for ESP32-S2

WiFi/USB capable version of the famous Black Magic Probe debugger.

Clone the Repository

Clone the repository with:

git clone --recursive https://github.com/flipperdevices/blackmagic-esp32-s2.git

You 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.

Develop with ESP-IDF

Set up ESP-IDF following Espressif's instructions. Make sure idf.py is in your PATH and you can successfully run the program.

Build with ESP-IDF

In your clone of this repository, run:

idf.py build

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.

Flash with ESP-IDF

Connect 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 on how to find the port name.

Run:

idf.py -p <port> flash

Test with ESP-IDF

Connect to the dev board with:

idf.py -p <port> monitor

You should not see errors in the logs if the firmware is installed and running correctly.

Schematic

Flipper Zero Wi-Fi Module Schematic