Sin descripción

あく 38011e88f3 API HAL: takeover i2c initialization and abstraction. Update I2C drivers to match new api. Back port API HAL to bootloader and enable light support for F5. (#356) hace 4 años
.github e39e1c3dce Input: properly cast timer arg pointer to InputPinState (#354) hace 4 años
applications 056e6ffa9c New lf rfid (#342) hace 4 años
assets 68a3f6b4b7 [FL-873] Add F5 target, lp5562 driver and api-hal-light (#347) hace 4 años
bootloader 38011e88f3 API HAL: takeover i2c initialization and abstraction. Update I2C drivers to match new api. Back port API HAL to bootloader and enable light support for F5. (#356) hace 4 años
core 056e6ffa9c New lf rfid (#342) hace 4 años
core-rs 3c2711102c Target refactoring and cube update (#161) hace 5 años
debug bf97123ba8 Debug: adjust openocd config for max speed (#278) hace 5 años
docker 3668bb40d2 Update gcc arm none eabi (#346) hace 4 años
firmware 38011e88f3 API HAL: takeover i2c initialization and abstraction. Update I2C drivers to match new api. Back port API HAL to bootloader and enable light support for F5. (#356) hace 4 años
flp 0d7395d05c [WIP] Flipper Devtool (#113) hace 5 años
lib 38011e88f3 API HAL: takeover i2c initialization and abstraction. Update I2C drivers to match new api. Back port API HAL to bootloader and enable light support for F5. (#356) hace 4 años
make 584c0962d8 [FL-781] FURI, CLI, stdlib: stdout hooks, integration between subsystems, uniform printf usage (#311) hace 5 años
.clang-format e95db0eedd update AllowShortBlocksOnASingleLine param (not work) hace 5 años
.gitattributes eb2679b982 Refactor F2/local before F3 merge (#220) hace 5 años
.gitignore 0d7395d05c [WIP] Flipper Devtool (#113) hace 5 años
.gitmodules 41219cc78e Fix werror flag and warnings (#321) hace 5 años
ReadMe.md 2ca70cc6a2 Refactoring CI for storage with updates (#339) hace 4 años
docker-compose.yml 748f7e4fc3 add dfu util to container, enable usb in container (#229) hace 5 años
flash_core1_main.sh 7243758b40 Update readme, add flashing scripts (#316) hace 5 años
flash_core2_ble.sh 7243758b40 Update readme, add flashing scripts (#316) hace 5 años
flash_otp_version.sh 2fbf427e0a Switch sub-1GHz band (#349) hace 4 años
flash_wipe.sh 3b24f7ff96 Wipe flash throw readout protection script (#325) hace 5 años
flipper-zero-cla.md bd762eb83b Update flipper-zero-cla.md hace 5 años
syntax_check.sh 110a9efc3c [WIP] Add syntax check for rust and C\C++ code (#108) hace 5 años

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