mirror of
https://github.com/DarkFlippers/unleashed-firmware.git
synced 2024-11-23 19:00:43 +03:00
1.7 KiB
1.7 KiB
How to Build by yourself:
Clone the Repository
You should clone with
$ git clone --recursive https://github.com/Eng1n33r/flipperzero-firmware.git
Build with Docker
Prerequisites
- Install Docker Engine and Docker Compose
- Prepare the container:
docker-compose up -d
Compile everything for development
docker-compose exec dev ./fbt
Compile everything for release + get updater package to update from microSD card
docker-compose exec dev ./fbt --with-updater COMPACT=1 DEBUG=0 updater_package
Check dist/
for build outputs.
Use flipper-z-{target}-full-{suffix}.dfu
to flash your device.
If compilation fails, make sure all submodules are all initialized. Either clone with --recursive
or use git submodule update --init --recursive
.
Build on Linux/macOS
Check out documentation/fbt.md
for details on building and flashing firmware.
Compile everything for development
./fbt
Compile everything for release + get updater package to update from microSD card
./fbt --with-updater COMPACT=1 DEBUG=0 updater_package
Check dist/
for build outputs.
Use flipper-z-{target}-full-{suffix}.dfu
to flash your device.
Build on Windows
Check out documentation/fbt.md
for details on building and flashing firmware.
Compile everything for development
.\fbt.cmd
Compile everything for release + get updater package to update from microSD card
.\fbt.cmd --with-updater COMPACT=1 DEBUG=0 updater_package
Check dist/
for build outputs.
Use flipper-z-{target}-full-{suffix}.dfu
to flash your device.