No Description

Albert Kharisov 5e08674663 [FL-1437] Replace stringstream with sscanf (#540) 4 years ago
.github 6e6df5e806 [FL-1457] Update link to release (#527) 4 years ago
applications 5e08674663 [FL-1437] Replace stringstream with sscanf (#540) 4 years ago
assets 8116bfcbab [FL-1443, FL-1289] Move assets compilation to separate Makefile. Add scripts folder. Add OTP flashing with DFU. (#531) 4 years ago
bootloader 8116bfcbab [FL-1443, FL-1289] Move assets compilation to separate Makefile. Add scripts folder. Add OTP flashing with DFU. (#531) 4 years ago
core 158c859bdc [FL-1486] Fix leaks and leak-sanitizer (#538) 4 years ago
debug dbb8a92653 Remove empty comments from FreeRTOSgdb/EventGroup.py (#428) 4 years ago
docker 1a1c5fa05d Unit tests: fix IRDA test data (#488) 4 years ago
firmware 5b8f147882 [FL-1447] NFC application refactoring (#532) 4 years ago
lib 4cf000f270 [FL-1465] Archive application bug fixes. Gui: update TextInput API. (#530) 4 years ago
make 8116bfcbab [FL-1443, FL-1289] Move assets compilation to separate Makefile. Add scripts folder. Add OTP flashing with DFU. (#531) 4 years ago
scripts 8116bfcbab [FL-1443, FL-1289] Move assets compilation to separate Makefile. Add scripts folder. Add OTP flashing with DFU. (#531) 4 years ago
.clang-format e95db0eedd update AllowShortBlocksOnASingleLine param (not work) 5 years ago
.gitattributes eb2679b982 Refactor F2/local before F3 merge (#220) 5 years ago
.gitignore 31c31db479 [FL-1250, FL-1252, FL-1323, FL-1324] New IRDA Application (part 1) (#497) 4 years ago
.gitmodules aa24484b99 [FL-977] Internal Storage (#455) 4 years ago
ReadMe.md 57bde875eb Update readme to match new release folder (#522) 4 years ago
docker-compose.yml 748f7e4fc3 add dfu util to container, enable usb in container (#229) 5 years ago
flipper-zero-cla.md bd762eb83b Update flipper-zero-cla.md 5 years ago

ReadMe.md

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 three components:

  • Core2 firmware - proprietary componenets by ST: FUS + radio stack.
  • Core1 Bootloader - controls basic hardware initialization and loads firmware
  • Core1 Firmware - HAL + OS + Drivers + Applications

All 3 of them must be flashed in order described.

With STLink

Core2 flashing procedures

Prerequisites:

  • Linux / MacOs
  • Terminal
  • STM32_Programmer_CLI added to $PATH

One liner: ./flash_core2_ble.sh

Core1 Bootloader + Firmware

Prerequisites:

  • Linux / MacOs
  • Terminal
  • Arm gcc noneabi
  • openocd

One liner: ./flash_core1_main.sh

With USB DFU

  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
  3. Run dfu-util -D full.dfu -a 0

Build from source

docker-compose exec dev make -C firmware flash for build and flash dev board (see applications/applications.mk for list of applications/examples)

Links