forked from 0xchocolate/flipperzero-esp-flasher
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathapplication.fam
30 lines (30 loc) · 1.01 KB
/
application.fam
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
App(
appid="esp_flasher",
name="ESP Flasher",
fap_version=(1,6),
apptype=FlipperAppType.EXTERNAL,
entry_point="esp_flasher_app",
requires=["gui"],
stack_size=4 * 1024,
order=90,
fap_icon="wifi_10px.png",
fap_category="GPIO",
fap_private_libs=[
Lib(
name="esp-serial-flasher",
fap_include_paths=["include"],
sources=[
"src/esp_loader.c",
"src/esp_targets.c",
"src/md5_hash.c",
"src/protocol_common.c",
"src/protocol_uart.c",
"src/slip.c"
],
cincludes=["lib/esp-serial-flasher/private_include"],
cdefines=["SERIAL_FLASHER_INTERFACE_UART=1", "MD5_ENABLED=1", "SERIAL_FLASHER_WRITE_BLOCK_RETRIES=10"],
),
],
cdefines=["SERIAL_FLASHER_INTERFACE_UART=1", "MD5_ENABLED=1", "SERIAL_FLASHER_WRITE_BLOCK_RETRIES=10"],
fap_icon_assets="assets",
)