Files
Momentum-Firmware/applications/main/subghz/application.fam
WillyJL 2e7eedf291 CLI: More commands as plugins on SD -6KB DFU, refactor plugin wrapper, (#276)
* Unused icons to check later

* Exclude disabled icons from firmware

* Format

* CLI: Test moving more cmds to plugins

* CLI: Macro template for plugin wrapper

* Fix plugin filenames

* Retrofit older cli wrappers

* Fix unused

* Fix manifests

* Add explanation

* Revert "Unused icons to check later"

This reverts commit b7f98e344c.

* Revert "Exclude disabled icons from firmware"

This reverts commit ab62e99898.

* Add back toplevel chat command

* Add DFU size to github comment

* Fix build

* Fix BT CLI preload fail

* Add these back

* Fix CLI command gpio preload fail

* Fix input command

* These can stay

* Fix negative size rounding

* Update changelog

* Fix DFU size calc
2024-11-04 09:42:25 +01:00

74 lines
1.6 KiB
Plaintext

App(
appid="subghz",
name="Sub-GHz",
apptype=FlipperAppType.APP,
targets=["f7"],
entry_point="subghz_app",
icon="A_Sub1ghz_14",
stack_size=3 * 1024,
order=10,
# Sources separation breaks linking with subghz on internal, commented for now
# sources=[
# "*.c",
# "!helpers/subghz_gps.c",
# "!helpers/minmea.c",
# "!subghz_cli.c",
# "!helpers/subghz_chat.c",
# "!subghz_extended_freq.c",
# ],
requires=["region"],
resources="resources",
fap_libs=["hwdrivers"],
fap_icon="icon.png",
fap_category="Sub-GHz",
sdk_headers=["subghz_fap.h"],
)
App(
appid="subghz_fap",
name="Sub-GHz",
apptype=FlipperAppType.EXTERNAL,
entry_point="subghz_fap",
stack_size=3 * 1024,
sources=["subghz_fap.c"],
fap_icon="icon.png",
fap_category="Sub-GHz",
)
App(
appid="subghz_gps",
targets=["f7"],
apptype=FlipperAppType.PLUGIN,
entry_point="subghz_gps_plugin_ep",
requires=["subghz_gps"],
sources=["helpers/subghz_gps.c", "helpers/minmea.c"],
)
App(
appid="subghz_cli",
targets=["f7"],
apptype=FlipperAppType.PLUGIN,
entry_point="subghz_cli_command_plugin_ep",
requires=["cli"],
sources=["subghz_cli.c", "helpers/subghz_chat.c"],
)
App(
appid="subghz_start",
targets=["f7"],
apptype=FlipperAppType.STARTUP,
entry_point="subghz_on_system_start",
# sources=["subghz_cli.c"],
order=40,
)
App(
appid="subghz_load_extended_settings",
targets=["f7"],
apptype=FlipperAppType.STARTUP,
entry_point="subghz_extended_freq",
# sources=["subghz_extended_freq.c"],
order=650,
)