Sen descrición

あく 43ff095724 Api-hal-power: reset routine. Power: safe to poweroff message, cleanup. (#436) %!s(int64=4) %!d(string=hai) anos
.github 0c3a0a3312 [FL-1104] Fix NFC crash and missing NfcMessageTypeDeviceNotFound event (#400) %!s(int64=4) %!d(string=hai) anos
applications 43ff095724 Api-hal-power: reset routine. Power: safe to poweroff message, cleanup. (#436) %!s(int64=4) %!d(string=hai) anos
assets dfcf0ea0eb [FL-1179] Debug menu & main menu cleanup (#426) %!s(int64=4) %!d(string=hai) anos
bootloader b405a22cd1 [FL-1167] Rework GPIO and EXTI with LL lib (#424) %!s(int64=4) %!d(string=hai) anos
core b405a22cd1 [FL-1167] Rework GPIO and EXTI with LL lib (#424) %!s(int64=4) %!d(string=hai) anos
debug dbb8a92653 Remove empty comments from FreeRTOSgdb/EventGroup.py (#428) %!s(int64=4) %!d(string=hai) anos
docker 724b738048 Refactoring Dockerfile (#440) %!s(int64=4) %!d(string=hai) anos
firmware 43ff095724 Api-hal-power: reset routine. Power: safe to poweroff message, cleanup. (#436) %!s(int64=4) %!d(string=hai) anos
flp 0d7395d05c [WIP] Flipper Devtool (#113) %!s(int64=5) %!d(string=hai) anos
lib eb82748d50 Drivers: skip initialization if bq27220 is unresponsive (#435) %!s(int64=4) %!d(string=hai) anos
make aa20a78b0e [FL-164] Add bootloader version (#417) %!s(int64=4) %!d(string=hai) anos
.clang-format e95db0eedd update AllowShortBlocksOnASingleLine param (not work) %!s(int64=5) %!d(string=hai) anos
.gitattributes eb2679b982 Refactor F2/local before F3 merge (#220) %!s(int64=5) %!d(string=hai) anos
.gitignore 0d7395d05c [WIP] Flipper Devtool (#113) %!s(int64=5) %!d(string=hai) anos
.gitmodules 5eba573f43 [FL-300] Launch applications from CLI (#380) %!s(int64=4) %!d(string=hai) anos
ReadMe.md 5b898ca985 Replace broken link in ReadMe (#437) %!s(int64=4) %!d(string=hai) anos
docker-compose.yml 748f7e4fc3 add dfu util to container, enable usb in container (#229) %!s(int64=5) %!d(string=hai) anos
flash_core1_main.sh dfcf0ea0eb [FL-1179] Debug menu & main menu cleanup (#426) %!s(int64=4) %!d(string=hai) anos
flash_core2_ble.sh 7243758b40 Update readme, add flashing scripts (#316) %!s(int64=5) %!d(string=hai) anos
flash_otp_version.sh 3e281175da [FL-123] SubGhz static code replay (#410) %!s(int64=4) %!d(string=hai) anos
flash_wipe.sh 3b24f7ff96 Wipe flash throw readout protection script (#325) %!s(int64=5) %!d(string=hai) anos
flipper-zero-cla.md bd762eb83b Update flipper-zero-cla.md %!s(int64=5) %!d(string=hai) anos
syntax_check.sh 110a9efc3c [WIP] Add syntax check for rust and C\C++ code (#108) %!s(int64=5) %!d(string=hai) anos

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_firmware_latest.bin -a 0 -s 0x08000000:leave

Build from source

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

Links