• Stars
    star
    446
  • Rank 94,437 (Top 2 %)
  • Language
    C
  • License
    GNU General Publi...
  • Created over 2 years ago
  • Updated 8 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

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 v4.4 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.

Web interface development

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

Typical workflow is to fix the board's IP address in components/svelte-portal/src/App.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.

When you're done, you need to run npm run build, idf.py build and then idf.py -p <port> flash. You can then open http://blackmagic.local in your browser and see the changes in the web interface.

Schematic

Flipper Zero Wi-Fi Module Schematic

More Repositories

1

flipperzero-firmware

Flipper Zero firmware source code
C
11,149
star
2

Flipper-Android-App

Android Mobile app to rule all Flipper's family
Kotlin
1,315
star
3

qFlipper

qFlipper — desktop application for updating Flipper Zero firmware via PC
C++
1,015
star
4

Flipper-iOS-App

iOS Mobile App to rule all Flipper's family
Swift
659
star
5

flipperzero-3d-models

Flipper Zero 3D models
476
star
6

flipper-application-catalog

Flipper Application Catalog
Python
435
star
7

flipperzero-ufbt

Compact tool for building and debugging applications for Flipper Zero.
Python
427
star
8

flipperzero-good-faps

Flipper Zero Official Apps maintained by Flipper Team and Friends
C
218
star
9

docs

Flipper Zero documentation repo
Python
172
star
10

flipperzero-sd-card-examples

Examples of all types of files stored on Flipper Zero SD card
154
star
11

lab.flipper.net

JavaScript
138
star
12

flipperzero-devboard-stlinkv3

Devboard for Flipper Zero based on ST-Link V3
100
star
13

flipperzero-toolchain

Flipper Zero Embedded Toolchain
Shell
95
star
14

flipperzero-nfc-tools

Repository contains nfc tools for Flipper companions
C
93
star
15

flipperzero-ufbt-action

Official ufbt Action wrapper for building Flipper Zero applications
81
star
16

flipperzero-game-engine

C
81
star
17

flipperzero-protobuf

65
star
18

flipperzero-catalog-sample-app

C
53
star
19

go-flipper

Go
51
star
20

flipperzero_protobuf_py

Python
49
star
21

video-game-module

C
45
star
22

flipperzero-remote-testbench-front

Remote testbench for Flipper zero - Frontend
JavaScript
41
star
23

flipperzero-nfc-rpc

Examples for control NFC over RPC
Python
37
star
24

webdfu

Driver for working with DFU in a browser over WebUSB
TypeScript
35
star
25

flipper-menu-generator

Generates menu tree image from markdown code
JavaScript
34
star
26

flipper-hackathon-moscow

Flipper Hackathon Moscow 2021
33
star
27

update.flipperzero.one

JavaScript
27
star
28

flipperzero-documentation

CSS
27
star
29

Casper-flipper-blog-theme

Handlebars
26
star
30

flipperzero-game-engine-example

Flipper Zero game engine example project
C
22
star
31

flipper-questions-and-answers

Flipper Question and Answer sessions archive
21
star
32

webflipper

Web client
JavaScript
19
star
33

homebrew-flipper

Ruby
18
star
34

stm32wb_copro_scripts

Python
18
star
35

flipper-update-indexer

Flipper update file uploader and indexer
Python
16
star
36

flipper-documentation-indexer

Python
16
star
37

flipper-update-server

Go
12
star
38

.github

12
star
39

map-gcc-parser-python

Python
10
star
40

flpr.app

HTML
9
star
41

flipper-tilda-webserver

Tilda exporter and webserver
Python
9
star
42

flipper-map-reporter

Map file analyser CI/CD
Shell
9
star
43

flipperzero-protobuf-jvm

8
star
44

floopper-bloopper

C
8
star
45

flipper-k8s-db-backuper

Make backups of databases in k8s
Shell
8
star
46

welcomer-bot

Go
7
star
47

stm32wb_copro

C++
7
star
48

sub-sync

Sync Ghost and Sendinblue subscribers
Go
7
star
49

discord-backers-bot

Go
6
star
50

docker-rsync-server

Shell
6
star
51

inotify-safe-mv

Dockerfile
6
star
52

flipper-factory-reset

Fully reset flipper and set it to the shipping state
Python
5
star
53

discord-notifier

Go
5
star
54

flipperzero-protobuf-metric

Protobuf for flipper metrics
5
star
55

thumbnail-autogen

Dockerfile
4
star
56

chmocker

Chroot-based Docker-like pseudo-containers for MacOS
Python
4
star
57

firmware-report-server

Flipper Zero FW build report analyzer backend
Python
4
star
58

QA-flipper-units

Simple script to run the unit tests inside flipper and validate the result
Python
4
star
59

firmware-report-client

Svelte
3
star
60

go-metric

Server for metric from application
Go
3
star
61

ship-flipp

Go
2
star
62

flipper-github-runner-docker-qa

Self-hosted github actions runners for QA
Python
1
star