Нема описа

DrZlo13 63a1a4e4d7 fix some bugs with sd spi (#320) пре 5 година
.github 24ab7384a0 modify codeowner (#309) пре 5 година
applications 523f99f154 GUI: rename widget to ViewPort. Update GUI API usage. (#317) пре 5 година
assets 1b78418f9f FL-528 GUI: View, ViewDispather. Dolphin: first start. (#276) пре 5 година
bootloader 584c0962d8 [FL-781] FURI, CLI, stdlib: stdout hooks, integration between subsystems, uniform printf usage (#311) пре 5 година
core 584c0962d8 [FL-781] FURI, CLI, stdlib: stdout hooks, integration between subsystems, uniform printf usage (#311) пре 5 година
core-rs 3c2711102c Target refactoring and cube update (#161) пре 5 година
debug bf97123ba8 Debug: adjust openocd config for max speed (#278) пре 5 година
docker 748f7e4fc3 add dfu util to container, enable usb in container (#229) пре 5 година
firmware 63a1a4e4d7 fix some bugs with sd spi (#320) пре 5 година
flp 0d7395d05c [WIP] Flipper Devtool (#113) пре 5 година
lib 523f99f154 GUI: rename widget to ViewPort. Update GUI API usage. (#317) пре 5 година
make 584c0962d8 [FL-781] FURI, CLI, stdlib: stdout hooks, integration between subsystems, uniform printf usage (#311) пре 5 година
.clang-format e95db0eedd update AllowShortBlocksOnASingleLine param (not work) пре 5 година
.gitattributes eb2679b982 Refactor F2/local before F3 merge (#220) пре 5 година
.gitignore 0d7395d05c [WIP] Flipper Devtool (#113) пре 5 година
.gitmodules fb0b3aeb3f Remove old unused L4 cube (#298) пре 5 година
ReadMe.md 7243758b40 Update readme, add flashing scripts (#316) пре 5 година
docker-compose.yml 748f7e4fc3 add dfu util to container, enable usb in container (#229) пре 5 година
flash_core1_main.sh 7243758b40 Update readme, add flashing scripts (#316) пре 5 година
flash_core2_ble.sh 7243758b40 Update readme, add flashing scripts (#316) пре 5 година
flipper-zero-cla.md bd762eb83b Update flipper-zero-cla.md пре 5 година
syntax_check.sh 110a9efc3c [WIP] Add syntax check for rust and C\C++ code (#108) пре 5 година

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