Files
seader/application.fam
T
Eric Betts 5c26fde1fa
FAP: Build and lint / ufbt: Build for release branch (push) Failing after 0s
Clean up application.fam by cheating
2026-03-03 19:00:21 -08:00

66 lines
1.6 KiB
Plaintext

# qv. https://github.com/flipperdevices/flipperzero-firmware/blob/dev/documentation/AppManifests.md
App(
appid="seader",
name="Seader",
apptype=FlipperAppType.EXTERNAL,
entry_point="seader_app",
cdefines=[
"APP_SEADER",
"ASN_DISABLE_PER_SUPPORT",
"ASN_DISABLE_OER_SUPPORT",
"ASN_DISABLE_XER_SUPPORT",
"ASN_DISABLE_RANDOM_FILL",
],
requires=[
"gui", "storage", "nfc",
],
stack_size=3 * 1024,
order=20,
sources=[
"*.c",
"aeabi_uldivmod.sx",
"!plugin/*.c",
],
fap_icon="icons/logo.png",
fap_category="NFC",
fap_version="4.0",
fap_author="bettse",
# fap_extbuild=(
# ExtFile(
# path="${FAP_SRC_DIR}/lib/asn1/asn_system.h",
# command="asn1c -D ${FAP_SRC_DIR}/lib/asn1 -no-gen-example -pdu=all ${FAP_SRC_DIR}/seader.asn1"
# ),
# ),
fap_libs=["mbedtls"],
fap_private_libs=[
Lib(
name="asn1",
cflags=[
"-Wno-error",
"-DASN_EMIT_DEBUG=0",
"-DASN_DISABLE_PER_SUPPORT",
"-DASN_DISABLE_OER_SUPPORT",
"-DASN_DISABLE_XER_SUPPORT",
"-DASN_DISABLE_RANDOM_FILL",
"-Os",
],
),
Lib(
name="loclass",
cflags=["-O3"],
),
],
fap_weburl="https://seader.ericbetts.dev",
fap_icon_assets="icons",
)
App(
appid="plugin_wiegand",
apptype=FlipperAppType.PLUGIN,
entry_point="plugin_wiegand_ep",
requires=["seader"],
sources=["plugin/wiegand.c"],
fal_embedded=True,
)