flipperzero-firmware/firmware
Georgii Surkov 917be9c6d3
[FL-2430] Automatic Desktop Locking (#1101)
* Add Auto Lock Time setting
* Update .gitignore
* Add value_index toolbox module
* Auto locking basic implementation
* Better AutoLock implementation, edge cases and cleanup
* Fix NULL pointer crash
* Turn off backlight shortly in locked mode
* Re-enable auto lock after pin lock
* Correctly handle start when pin locked
* Use timer to hide locked hint
* Use a single state variable instead of multiple bools
* Do not call update callback recursively
* Allow input when the Unlocked hint is shown
* Add a delay to backlight switch off while locking
* Better user input handling
* Switch backlight off after pin timeout
* Correct grammar in notification settings

Co-authored-by: あく <alleteam@gmail.com>
2022-04-14 15:20:41 +03:00
..
targets [FL-2430] Automatic Desktop Locking (#1101) 2022-04-14 15:20:41 +03:00
Makefile [FL-2263] Flasher service & RAM exec (#1006) 2022-04-13 23:50:25 +03:00
ReadMe.md [FL-2263] Flasher service & RAM exec (#1006) 2022-04-13 23:50:25 +03:00

Flipper firmware

What does it do?

  • RTOS
  • FuriHAL
  • FuriCore
  • Services
  • Applications

Targets

| Name | Firmware | Reset | DFU | | | Address | Combo | Combo |

| f7 | 0x08000000 | L+Back, release both | L+Back, release Back |

Also there is a "hardware" ST bootloader combo available even on a bricked or empty device: L+Ok+Back, release Back, Left. Target independent code and headers in target/include folders. More details in documentation/KeyCombo.md

Building

With dev docker image:

docker-compose exec dev make -C firmware

With toolchain installed in path:

make -C firmware

Build Options

  • DEBUG - 0/1 - enable or disable debug build. Default is 1.
  • COMPACT - 0/1 - enable or disable compiler optimizations. Significantly reduces binary size. Default is 0.
  • TARGET - string - target to build. Default is f7.
  • RAM_EXEC - 0/1 - whether to build full firmware or RAM-based stage for firmware update. 0 is default, builds firmware.

Flashing

Using SWD (STLink):

make -C firmware flash

Or use DFU (USB):

make -C firmware upload

Debug

Using SWD (STLink):

make -C firmware debug