No description
Find a file
あく 228055e4eb
OpenOCD makefile integration and Charger IC initialization fixes. (#258)
* Makefile: start openocd from gdb, boot no boot version.
* bq25896: reset before readout. Cleanup.
2020-12-04 20:30:50 +03:00
.github Add option for checkout code 2020-11-16 17:51:48 +03:00
applications FL-339: cli diagnostic interface for power subsystem. (#256) 2020-12-02 13:47:13 +03:00
assets Assets: add more menu icons, add stubs to menu. (#241) 2020-11-17 19:21:54 +03:00
bootloader OpenOCD makefile integration and Charger IC initialization fixes. (#258) 2020-12-04 20:30:50 +03:00
core FL-339: cli diagnostic interface for power subsystem. (#256) 2020-12-02 13:47:13 +03:00
core-rs Target refactoring and cube update (#161) 2020-10-07 12:37:43 +03:00
debug Debug: Add PyCortexDebug. Core and peripheral register database and decoder. (#251) 2020-11-19 18:48:34 +03:00
docker add dfu util to container, enable usb in container (#229) 2020-11-10 19:42:18 +03:00
firmware OpenOCD makefile integration and Charger IC initialization fixes. (#258) 2020-12-04 20:30:50 +03:00
flp [WIP] Flipper Devtool (#113) 2020-10-29 11:10:46 +03:00
lib OpenOCD makefile integration and Charger IC initialization fixes. (#258) 2020-12-04 20:30:50 +03:00
make OpenOCD makefile integration and Charger IC initialization fixes. (#258) 2020-12-04 20:30:50 +03:00
.clang-format update AllowShortBlocksOnASingleLine param (not work) 2020-10-21 12:08:23 +03:00
.gitattributes Refactor F2/local before F3 merge (#220) 2020-11-06 11:31:59 +03:00
.gitignore [WIP] Flipper Devtool (#113) 2020-10-29 11:10:46 +03:00
.gitmodules Floopper bloopper (#245) 2020-11-18 11:01:51 +03:00
docker-compose.yml add dfu util to container, enable usb in container (#229) 2020-11-10 19:42:18 +03:00
flipper-zero-cla.md Update flipper-zero-cla.md 2020-08-01 19:42:32 +03:00
README.md Refactoring firmware uploading to update server (#238) 2020-11-15 13:14:52 +03:00
syntax_check.sh [WIP] Add syntax check for rust and C\C++ code (#108) 2020-09-30 02:18:30 +03:00

Flipper Zero Firmware community repo

Discord

Welcome to Flipper Zero's Firmware repo! Our goal is to create nice and clean code along with good documentation, to make it a pleasure for everyone to work with. This repo will become completely public closer to the device shipping date.

Update firmware

Flipper Zero's firmware consists of two components: Bootloader and main firmware. Bootloader controls firmware update process over USB. You need working bootloader installed before update firmware over USB.

  1. Download latest Firmware

  2. Reboot Flipper to Bootloader

  • Press and hold ← Left + ↩ Back for reset
  • Release ← Left and keep holding ↩ Back until blue LED lights up
  • Release ↩ Back
  1. Run dfu-util -D firmware.bin -a 0 -s 0x08008000:leave

Build from source

You can run firmware locally (with HAL stub):

  • docker-compose exec dev make -C firmware TARGET=local APP_TEST=1 run for running tests
  • docker-compose exec dev make -C firmware TARGET=local APP_*=1 run for running examples (see applications/applications.mk for list of applications/examples)

Or you can use your dev. board:

docker-compose exec dev make -C firmware TARGET=f2 APP_*=1 flash for build and flash dev board (see applications/applications.mk for list of applications/examples)

Links