• Stars
    star
    493
  • Rank 89,306 (Top 2 %)
  • Language
    C
  • License
    GNU General Publi...
  • Created about 3 years ago
  • Updated 5 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
12,714
star
2

Flipper-Android-App

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

qFlipper

qFlipper β€” desktop application for updating Flipper Zero firmware via PC
C++
1,147
star
4

Flipper-iOS-App

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

flipper-application-catalog

Flipper Application Catalog
Python
579
star
6

flipperzero-ufbt

Compact tool for building and debugging applications for Flipper Zero.
Python
562
star
7

flipperzero-3d-models

Flipper Zero 3D models
510
star
8

flipperzero-good-faps

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

docs

Flipper Zero documentation repo
Python
182
star
10

flipperzero-sd-card-examples

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

lab.flipper.net

JavaScript
146
star
12

flipperzero-devboard-stlinkv3

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

flipperzero-nfc-tools

Repository contains nfc tools for Flipper companions
C
106
star
14

flipperzero-toolchain

Flipper Zero Embedded Toolchain
Shell
101
star
15

flipperzero-ufbt-action

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

flipperzero-game-engine

C
89
star
17

flipperzero-protobuf

This repository contains Flipper Zero RPC protocol protobuf description
77
star
18

flipperzero-catalog-sample-app

C
60
star
19

flipperzero_protobuf_py

Python
58
star
20

video-game-module

C
58
star
21

go-flipper

Go
56
star
22

flipperzero-remote-testbench-front

Remote testbench for Flipper zero - Frontend
JavaScript
43
star
23

flipperzero-nfc-rpc

Examples for control NFC over RPC
Python
41
star
24

webdfu

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

flipper-hackathon-moscow

Flipper Hackathon Moscow 2021
36
star
26

flipper-menu-generator

Generates menu tree image from markdown code
JavaScript
36
star
27

update.flipperzero.one

JavaScript
28
star
28

flipperzero-documentation

CSS
28
star
29

Casper-flipper-blog-theme

Handlebars
26
star
30

flipperzero-game-engine-example

Flipper Zero game engine example project
C
25
star
31

flipper-questions-and-answers

Flipper Question and Answer sessions archive
22
star
32

stm32wb_copro_scripts

Python
22
star
33

homebrew-flipper

Ruby
21
star
34

webflipper

Web client
JavaScript
20
star
35

flipper-update-indexer

Flipper update file uploader and indexer
Python
20
star
36

flipper-documentation-indexer

Python
17
star
37

map-gcc-parser-python

Python
14
star
38

.github

14
star
39

flipper-update-server

Go
13
star
40

flpr.app

HTML
11
star
41

stm32wb_copro

C++
11
star
42

flipper-tilda-webserver

Tilda exporter and webserver
Python
11
star
43

flipperzero-protobuf-jvm

9
star
44

floopper-bloopper

C
9
star
45

welcomer-bot

Python
9
star
46

IRDB

Flipper IR database with device catalogs
9
star
47

flipper-map-reporter

Map file analyser CI/CD
Shell
9
star
48

flipper-k8s-db-backuper

Make backups of databases in k8s
Python
9
star
49

docker-rsync-server

Shell
8
star
50

flipper-factory-reset

Fully reset flipper and set it to the shipping state
Python
8
star
51

sub-sync

Sync Ghost and Sendinblue subscribers
Go
8
star
52

discord-backers-bot

Go
7
star
53

inotify-safe-mv

Dockerfile
7
star
54

flipperzero-protobuf-metric

Protobuf for flipper metrics
7
star
55

discord-notifier

Go
6
star
56

thumbnail-autogen

Dockerfile
5
star
57

chmocker

Chroot-based Docker-like pseudo-containers for MacOS
Python
5
star
58

firmware-report-server

Flipper Zero FW build report analyzer backend
Python
5
star
59

QA-flipper-units

Simple script to run the unit tests inside flipper and validate the result
Python
5
star
60

go-metric

Server for metric from application
Go
4
star
61

firmware-report-client

Svelte
3
star
62

flipper-url-shortener

Python
3
star
63

ship-flipp

Go
2
star
64

flipper-catalog-apps-downloader

Python
1
star
65

IRDB-Backend

Backend for IRDB database
Kotlin
1
star
66

flipper-github-runner-docker-qa

Self-hosted github actions runners for QA
Python
1
star
67

flipper-local-ssl

Flipper LAN SSL Deployer
Python
1
star