No description
Find a file
あく 584c0962d8
[FL-781] FURI, CLI, stdlib: stdout hooks, integration between subsystems, uniform printf usage (#311)
* FURI stdglue: stdout hooks, local and global, ISR safe printf. Uniform newlines for terminal/debug output. Power: prevent sleep while core 2 has not started.
* Furi record, stdglue: check mutex allocation
* remove unused test
* Furi stdglue: buferized output, dynamically allocated state. Furi record: dynamically allocated state. Input dump: proper line ending. Hal VCP: dynamically allocated state.
* Interrupt manager: explicitly init list.
* Makefile: cleanup rules, fix broken dfu upload. F4: add compiler stack protection options.
* BLE: call debug uart callback on transmission complete
* FreeRTOS: add configUSE_NEWLIB_REENTRANT
* API HAL Timebase: fix issue with idle thread stack corruption caused by systick interrupt. BT: cleanup debug info output. FreeRTOS: disable reentry for newlib.
* F4: update stack protection CFLAGS to match used compiller
* F4: disable compiller stack protection because of incompatibility with current compiller
* Makefile: return openocd logs to gdb
* BLE: fixed pin, moar power, ble trace info.
* Prevent sleep when connection is active
* Makefile: return serial port to upload rule, add workaround for mac os
* Furi: prevent usage of stack for cmsis functions.
* F4: add missing includes, add debugger breakpoints
* Applications: per app stack size.
* Furi: honor kernel state in stdglue
* FreeRTOS: remove unused hooks
* Cleanup and format sources

Co-authored-by: DrZlo13 <who.just.the.doctor@gmail.com>
2021-01-29 03:09:33 +03:00
.github modify codeowner (#309) 2021-01-20 21:18:15 +03:00
applications [FL-781] FURI, CLI, stdlib: stdout hooks, integration between subsystems, uniform printf usage (#311) 2021-01-29 03:09:33 +03:00
assets FL-528 GUI: View, ViewDispather. Dolphin: first start. (#276) 2021-01-08 10:42:48 +06:00
bootloader [FL-781] FURI, CLI, stdlib: stdout hooks, integration between subsystems, uniform printf usage (#311) 2021-01-29 03:09:33 +03:00
core [FL-781] FURI, CLI, stdlib: stdout hooks, integration between subsystems, uniform printf usage (#311) 2021-01-29 03:09:33 +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-781] FURI, CLI, stdlib: stdout hooks, integration between subsystems, uniform printf usage (#311) 2021-01-29 03:09:33 +03:00
flp [WIP] Flipper Devtool (#113) 2020-10-29 11:10:46 +03:00
lib [FL-85][FL-446][FL-720] Dallas key blanks and OneWire lib rework (#313) 2021-01-28 15:30:31 +03:00
make [FL-781] FURI, CLI, stdlib: stdout hooks, integration between subsystems, uniform printf usage (#311) 2021-01-29 03:09:33 +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 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 [FL-140] Core api dynamic records (#296) 2021-01-20 19:09:26 +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

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