#applications #flipper-zero #package #env-var #fap

nightly build flipper0-fap-build

Flipper0 Application Package build utils

8 releases

0.1.8 Nov 5, 2022
0.1.7 Oct 22, 2022

#11 in #flipper-zero

36 downloads per month

MIT license

38KB
567 lines

Flipper Zero Application build utils

Typically for usage from build script.

It do following things:

  1. Build FAP manifest using fam crate
  2. Read env var FLIPPER_SDK_PATH_ENV
  3. Copy or link (now just link) the output dir where manifest (fam) is to $FLIPPER_FW_SRC_PATH/applications_user/{fap-id}/
  4. Same for assets such as icons

After this you can just execute ./fbt firmware_{fap-id} from the root flipperzero-firmware repository clone.

$FLIPPER_FW_SRC_PATH should points to working copy of the flipperzero-firmware repository.

Example.

Dependencies

~3–4MB
~82K SLoC