Go to file
あく 76e3fd3060
Firmware, Bootloader: add f3 target. (#215)
* Firmware, Bootloader: add f3 target. Refactor code to be portable across targets.
* Firmware: remove bkpt
* Makefile: debug agent. Debug: f3 platform throw openocd.
* freertos-openocd helper
* separate hal resources
* return of input_dump app
* using hew target resources abstration layer for backlight and blink
* dirty hack for input driver, f3 has no charging pin
* worked input interrupts
* working display
* F3: switch to 32mHz resonator
* F3: configure SD_CS pin
* NFC: port to F3.
* fat uart app
* sd card hal api
* separate CC1101 spi config
* faster spi gpio for sd card
* Assets: disable LFS
* Cube: disable css on LSE
* Input: format code
* Make: add bootloader source code to formatting rule
* F3: enable rf by default, adjust clock settings, map all pins where they should be.
* libs for coreglitch_demo_0
* nvic priority
* bus clocks all to 64
* lf-rfid timer and pin
* irda
* ir rx setup
* tim2 irq handler
* Makefile: environment aware mkdir
* Makefile, Irukagotchi: commit seq number.
* split falling and rising ir rx events
* Makefile: proper git branch detect on old git. Firmware: api fix.
* fix irda
* Makefile,Irukagotchi: date timestamp.
* NFC: adjust SPI speed
* Irukagotchi: format code
* Make: add blackmagic debug in host mode
* Makefile: detach blackmagic from terminal signals
* Makefile,Irukagotchi: stamp target
* add F3 bootloader/firmware to CI

Co-authored-by: Aleksandr Kutuzov <aku@plooks.com>
Co-authored-by: DrZlo13 <who.just.the.doctor@gmail.com>
Co-authored-by: aanper <mail@s3f.ru>
2020-11-06 13:52:50 +03:00
.github Firmware, Bootloader: add f3 target. (#215) 2020-11-06 13:52:50 +03:00
applications show target version, date, commit hash and branch (#221) 2020-11-06 12:31:06 +03:00
assets show target version, date, commit hash and branch (#221) 2020-11-06 12:31:06 +03:00
bootloader Firmware, Bootloader: add f3 target. (#215) 2020-11-06 13:52:50 +03:00
core Refactor F2/local before F3 merge (#220) 2020-11-06 11:31:59 +03:00
core-rs Target refactoring and cube update (#161) 2020-10-07 12:37:43 +03:00
debug Firmware, Bootloader: add f3 target. (#215) 2020-11-06 13:52:50 +03:00
docker Assets, Icons, UI toolkit. Part 1. (#202) 2020-10-26 20:00:17 +03:00
firmware Firmware, Bootloader: add f3 target. (#215) 2020-11-06 13:52:50 +03:00
flp [WIP] Flipper Devtool (#113) 2020-10-29 11:10:46 +03:00
lib Firmware, Bootloader: add f3 target. (#215) 2020-11-06 13:52:50 +03:00
make show target version, date, commit hash and branch (#221) 2020-11-06 12:31:06 +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 Firmware, Bootloader: add f3 target. (#215) 2020-11-06 13:52:50 +03:00
docker-compose.yml [WIP] Add syntax check for rust and C\C++ code (#108) 2020-09-30 02:18:30 +03:00
flipper-zero-cla.md Update flipper-zero-cla.md 2020-08-01 19:42:32 +03:00
README.md Readme fix 2020-11-04 12:49:35 +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