mirror of
https://github.com/DarkFlippers/unleashed-firmware
synced 2024-11-26 14:30:25 +00:00
b9a766d909
* Added support for running applications from SD card (FAPs - Flipper Application Packages) * Added plugin_dist target for fbt to build FAPs * All apps of type FlipperAppType.EXTERNAL and FlipperAppType.PLUGIN are built as FAPs by default * Updated VSCode configuration for new fbt features - re-deploy stock configuration to use them * Added debugging support for FAPs with fbt debug & VSCode * Added public firmware API with automated versioning Co-authored-by: hedger <hedger@users.noreply.github.com> Co-authored-by: SG <who.just.the.doctor@gmail.com> Co-authored-by: あく <alleteam@gmail.com>
92 lines
1.6 KiB
Python
92 lines
1.6 KiB
Python
Import("env")
|
|
|
|
env.Append(
|
|
LINT_SOURCES=[
|
|
"lib/app-scened-template",
|
|
"lib/digital_signal",
|
|
"lib/drivers",
|
|
"lib/flipper_format",
|
|
"lib/infrared",
|
|
"lib/nfc",
|
|
"lib/one_wire",
|
|
"lib/ST25RFAL002",
|
|
"lib/subghz",
|
|
"lib/toolbox",
|
|
"lib/u8g2",
|
|
"lib/update_util",
|
|
"lib/print",
|
|
],
|
|
SDK_HEADERS=[
|
|
File("#/lib/one_wire/one_wire_host_timing.h"),
|
|
File("#/lib/one_wire/one_wire_host.h"),
|
|
File("#/lib/one_wire/one_wire_slave.h"),
|
|
File("#/lib/one_wire/one_wire_device.h"),
|
|
File("#/lib/one_wire/ibutton/ibutton_worker.h"),
|
|
File("#/lib/one_wire/maxim_crc.h"),
|
|
],
|
|
)
|
|
|
|
env.Append(
|
|
CPPPATH=[
|
|
"#/",
|
|
"#/lib", # TODO: remove!
|
|
"#/lib/mlib",
|
|
# Ugly hack
|
|
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
|
|
# one_wire
|
|
# qrcode
|
|
# u8g2
|
|
# update_util
|
|
# heatshrink
|
|
# nanopb
|
|
# apps
|
|
# app-scened-template
|
|
# callback-connector
|
|
# app-template
|
|
|
|
|
|
libs = env.BuildModules(
|
|
[
|
|
"STM32CubeWB",
|
|
"freertos",
|
|
"print",
|
|
"microtar",
|
|
"toolbox",
|
|
"ST25RFAL002",
|
|
"libusb_stm32",
|
|
"drivers",
|
|
"fatfs",
|
|
"flipper_format",
|
|
"infrared",
|
|
"littlefs",
|
|
"mbedtls",
|
|
"subghz",
|
|
"nfc",
|
|
"appframe",
|
|
"misc",
|
|
"lfrfid",
|
|
"flipper_application",
|
|
],
|
|
)
|
|
|
|
Return("libs")
|