forked from ofabel/mp-flipper
-
Notifications
You must be signed in to change notification settings - Fork 0
/
application.fam
63 lines (63 loc) · 1.63 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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
App(
appid="upython",
name="uPython",
apptype=FlipperAppType.EXTERNAL,
entry_point="upython",
stack_size=4 * 1024,
fap_category="Tools",
fap_version="1.6",
fap_description="Compile and execute MicroPython scripts",
fap_icon="icon.png",
fap_icon_assets="images",
fap_author="Oliver Fabel",
fap_file_assets="examples",
fap_weburl="https://github.com/ofabel/mp-flipper",
sources=[
"*.c*",
"!./lib/micropython",
"!./lib/micropython-port",
"!./flipperzero",
"!./node_modules",
"!./examples",
"!./assets",
"!./docs",
"!./venv",
"!./dist",
],
fap_private_libs=[
Lib(
name="micropython",
cflags=[
"-Wno-error",
"-w",
#
# required for floating point support
#
"-mcpu=cortex-m4",
"-mfloat-abi=hard",
"-mfpu=fpv4-sp-d16",
"-mthumb",
"-fsingle-precision-constant",
"-fno-math-errno",
],
cincludes=["."]
),
Lib(
name="micropython-port",
cflags=[
"-Wno-error",
"-w",
#
# required for floating point support
#
"-mcpu=cortex-m4",
"-mfloat-abi=hard",
"-mfpu=fpv4-sp-d16",
"-mthumb",
"-fsingle-precision-constant",
"-fno-math-errno",
],
cincludes=["."]
),
]
)