Fix subghz linking, firmware dfu builds!

This commit is contained in:
Willy-JL
2023-11-12 06:59:52 +00:00
parent f2902755ca
commit b5a56d39c0
2 changed files with 11 additions and 18 deletions

View File

@@ -25,6 +25,7 @@ App(
"ibutton_start", "ibutton_start",
"onewire_start", "onewire_start",
"subghz_start", "subghz_start",
"subghz_load_extended_settings",
"infrared_start", "infrared_start",
"lfrfid_start", "lfrfid_start",
"nfc_start", "nfc_start",

View File

@@ -3,25 +3,17 @@ App(
name="SubGHz", name="SubGHz",
apptype=FlipperAppType.APP, apptype=FlipperAppType.APP,
targets=["f7"], targets=["f7"],
cdefines=["APP_SUBGHZ"],
entry_point="subghz_app", entry_point="subghz_app",
requires=[
"gui",
"cli",
"dialogs",
],
provides=[
"subghz_start",
"subghz_load_extended_settings",
],
icon="A_Sub1ghz_14", icon="A_Sub1ghz_14",
stack_size=3 * 1024, stack_size=3 * 1024,
order=10, order=10,
sources=[ # Sources separation breaks linking with subghz on internal, commented for now
"*.c", # sources=[
"!subghz_cli.c", # "*.c",
"!helpers/subghz_chat.c", # "!subghz_cli.c",
], # "!helpers/subghz_chat.c",
# "!subghz_extended_freq.c",
# ],
resources="resources", resources="resources",
fap_libs=["hwdrivers"], fap_libs=["hwdrivers"],
fap_icon="icon.png", fap_icon="icon.png",
@@ -33,15 +25,15 @@ App(
targets=["f7"], targets=["f7"],
apptype=FlipperAppType.STARTUP, apptype=FlipperAppType.STARTUP,
entry_point="subghz_on_system_start", entry_point="subghz_on_system_start",
sources=["subghz_cli.c", "helpers/subghz_chat.c"], # sources=["subghz_cli.c", "helpers/subghz_chat.c"],
requires=["subghz"],
order=40, order=40,
) )
App( App(
appid="subghz_load_extended_settings", appid="subghz_load_extended_settings",
targets=["f7"],
apptype=FlipperAppType.STARTUP, apptype=FlipperAppType.STARTUP,
entry_point="subghz_extended_freq", entry_point="subghz_extended_freq",
requires=["storage", "subghz"], # sources=["subghz_extended_freq.c"],
order=650, order=650,
) )