2022-06-26 12:00:03 +00:00
|
|
|
Import("env")
|
|
|
|
|
|
|
|
env.Append(
|
|
|
|
LINT_SOURCES=[
|
|
|
|
"lib/app-scened-template",
|
|
|
|
"lib/digital_signal",
|
|
|
|
"lib/drivers",
|
|
|
|
"lib/flipper_format",
|
|
|
|
"lib/infrared",
|
2022-08-07 15:09:00 +00:00
|
|
|
"lib/nfc",
|
2022-06-26 12:00:03 +00:00
|
|
|
"lib/one_wire",
|
|
|
|
"lib/ST25RFAL002",
|
|
|
|
"lib/subghz",
|
|
|
|
"lib/toolbox",
|
|
|
|
"lib/u8g2",
|
|
|
|
"lib/update_util",
|
2022-08-03 16:00:17 +00:00
|
|
|
"lib/print",
|
2022-06-26 12:00:03 +00:00
|
|
|
]
|
|
|
|
)
|
|
|
|
|
|
|
|
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
|
2022-08-07 15:09:00 +00:00
|
|
|
# nfc
|
2022-06-26 12:00:03 +00:00
|
|
|
# one_wire
|
|
|
|
# qrcode
|
|
|
|
# u8g2
|
|
|
|
# update_util
|
|
|
|
# heatshrink
|
|
|
|
# nanopb
|
|
|
|
# apps
|
|
|
|
# app-scened-template
|
|
|
|
# callback-connector
|
|
|
|
# app-template
|
|
|
|
|
|
|
|
|
|
|
|
libs = env.BuildModules(
|
|
|
|
[
|
|
|
|
"STM32CubeWB",
|
|
|
|
"freertos",
|
2022-08-03 16:00:17 +00:00
|
|
|
"print",
|
2022-06-26 12:00:03 +00:00
|
|
|
"microtar",
|
|
|
|
"toolbox",
|
|
|
|
"ST25RFAL002",
|
|
|
|
"libusb_stm32",
|
|
|
|
"drivers",
|
|
|
|
"fatfs",
|
|
|
|
"flipper_format",
|
|
|
|
"infrared",
|
|
|
|
"littlefs",
|
2022-08-07 15:09:00 +00:00
|
|
|
"mbedtls",
|
2022-06-26 12:00:03 +00:00
|
|
|
"subghz",
|
2022-07-26 15:30:49 +00:00
|
|
|
"nfc",
|
2022-06-26 12:00:03 +00:00
|
|
|
"appframe",
|
|
|
|
"misc",
|
2022-07-03 08:44:38 +00:00
|
|
|
"loclass",
|
2022-06-26 12:00:03 +00:00
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
Return("libs")
|