Welcome to mirror list, hosted at ThFree Co, Russian Federation.

SConscript « lib - github.com/ClusterM/flipperzero-firmware.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: c5bc3947f19e9f285228782df6a33d5687fee06c (plain)
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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
Import("env")

env.Append(
    LINT_SOURCES=[
        "lib/app-scened-template",
        "lib/digital_signal",
        "lib/drivers",
        "lib/flipper_format",
        "lib/infrared",
        "lib/nfc_protocols",
        "lib/one_wire",
        "lib/ST25RFAL002",
        "lib/subghz",
        "lib/toolbox",
        "lib/u8g2",
        "lib/update_util",
    ]
)

env.Append(
    CPPPATH=[
        "#/",
        "#/lib",  # TODO: remove!
        "#/lib/mlib",
        # Ugly hack
        "${BUILD_DIR}/assets/compiled",
    ],
    CPPDEFINES=[
        '"M_MEMORY_FULL(x)=abort()"',
    ],
)


# drivers
# fatfs
# flipper_format
# infrared
# littlefs
# subghz
# toolbox
# misc
#    digital_signal
#    fnv1a-hash
#    micro-ecc
#    microtar
#    nfc_protocols
#    one_wire
#    qrcode
#    u8g2
#    update_util
#    heatshrink
#    nanopb
# apps
#    app-scened-template
#    callback-connector
#    app-template


libs = env.BuildModules(
    [
        "STM32CubeWB",
        "freertos",
        "microtar",
        "toolbox",
        "ST25RFAL002",
        "libusb_stm32",
        "drivers",
        "fatfs",
        "flipper_format",
        "infrared",
        "littlefs",
        "subghz",
        "nfc",
        "appframe",
        "misc",
        "mbedtls",
        "loclass",
    ],
)

Return("libs")