Skip to content

How to build metapackages? #54

@s3rius

Description

@s3rius

Seems like uFBT currently doesn't support building Apps which are of type METAPACKAGE.

Here's the project layout:

 .
├──  application.fam
└──  btcon
    ├──  application.fam
    ├──  icon.png
    └── 󱧼 src
        └── ...

Contents of application.fam:

App(
    appid="flippys",
    name="Flippys",
    apptype=FlipperAppType.METAPACKAGE,
    provides=[
      "btcon",
    ]
)

Contents of btcon/application.fam:

App(
    appid="btcon",
    name="Btcon",
    apptype=FlipperAppType.EXTERNAL,
    entry_point="btcon",
    stack_size=2 * 1024,
    fap_libs=["ble_profile"],
    fap_description="Flipper controller for my pc.",
    fap_category="Bluetooth",
    fap_icon="icon.png",
    fap_icon_assets="assets",
)

When I run ufbt build I get this output:

scons: Entering directory `/home/s3rius/.ufbt/current/scripts/ufbt'
scons: *** [phony_build] More than one app is runnable: . Please specify an app with APPID=...

Am I missing something?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions