No description
Find a file
あく c8aca9ef48
[FL-667] Power saving: deep sleep in tickless state (#300)
* SYSTEM: tickless mode with deep sleep.
* Move FreeRTOS ticks to lptim2.
* API: move all sumbodules init routines to one place.
* Timebase: working lptim2 at tick source.
* API Timebase: lp-timer routines, timer access safe zones prediction and synchronization. 
* FreeRTOS: adjust configuration for tickless mode.
* NFC: support for tickless mode.
* API Timebase: improve tick error handling in IRQ. 
* Apploader: use insomnia mode to run applications.
* BLE: prevent sleep while core2 starting.
* HAL: nap while in insomnia mode.

Co-authored-by: coreglitch <mail@s3f.ru>
2021-01-18 18:08:58 +03:00
.github [FL-520] Filesystem Api and App (#280) 2021-01-11 20:52:35 +06:00
applications [FL-667] Power saving: deep sleep in tickless state (#300) 2021-01-18 18:08:58 +03:00
assets FL-528 GUI: View, ViewDispather. Dolphin: first start. (#276) 2021-01-08 10:42:48 +06:00
bootloader Bootloader: LSE/RTC shenanigans, morse error codes, new LED color scheme (#293) 2021-01-07 01:45:31 +06:00
core SPI Device API (#304) 2021-01-12 20:33:36 +03:00
core-rs Target refactoring and cube update (#161) 2020-10-07 12:37:43 +03:00
debug Debug: adjust openocd config for max speed (#278) 2020-12-28 13:20:58 +06:00
docker add dfu util to container, enable usb in container (#229) 2020-11-10 19:42:18 +03:00
firmware [FL-667] Power saving: deep sleep in tickless state (#300) 2021-01-18 18:08:58 +03:00
flp [WIP] Flipper Devtool (#113) 2020-10-29 11:10:46 +03:00
lib [FL-520] Filesystem Api and App (#280) 2021-01-11 20:52:35 +06:00
make FL-528 GUI: View, ViewDispather. Dolphin: first start. (#276) 2021-01-08 10:42:48 +06: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 Remove old unused L4 cube (#298) 2021-01-11 14:22:16 +03:00
docker-compose.yml add dfu util to container, enable usb in container (#229) 2020-11-10 19:42:18 +03:00
flipper-zero-cla.md Update flipper-zero-cla.md 2020-08-01 19:42:32 +03:00
ReadMe.md Remove obsolete target. Cleanup and update ReadMe. (#279) 2020-12-28 11:52:35 +06: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 on your flipper:

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

Links