flipperzero-firmware/firmware
あく 936a2f64b2
[FL-2580] FuriHal: add more supported radio stacks (#1301)
* FuriHal: add more supported radio stacks
* Bt: correct ble stack enum value
* Bt: update cli testing commands implementation
* Scripts: always emitting ob data to update manifest; added ob_custradio.data for non-light radio stacks
* Scripts: added stack type whitelist & disclaimer message
* ble: remove scanner
* ble: remove HCI and advances ble stacks support
* bt: correctly close RPC session before bt reinit
* Scripts: update bundler: estimating flash layout & refusing to build dangerous packages; app frame: not adding redundant log handlers
* Docs: additional details on bundling updates; fixed updater error codes
* Docs: wording fixes for OTA.md

Co-authored-by: hedger <hedger@nanode.su>
Co-authored-by: gornekich <n.gorbadey@gmail.com>
Co-authored-by: SG <who.just.the.doctor@gmail.com>
2022-06-09 18:07:42 +09:00
..
targets [FL-2580] FuriHal: add more supported radio stacks (#1301) 2022-06-09 18:07:42 +09:00
Makefile [FL-2263] Flasher service & RAM exec (#1006) 2022-04-13 23:50:25 +03:00
ReadMe.md Fixed README formatting & outdated information (#1123) 2022-04-15 21:26:23 +04:00

Flipper firmware

What does it do?

  • RTOS
  • FuriHAL
  • FuriCore
  • Services
  • Applications

Targets

Name Firmware Address Reset Combo DFU 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.

Building self-update package

make DEBUG=0 COMPACT=1 updater_package

Flashing

Using SWD (STLink):

make -C firmware flash

Or use DFU (USB):

make -C firmware upload

Debug

Using SWD (STLink):

make -C firmware debug