mirror of
https://github.com/DarkFlippers/unleashed-firmware
synced 2024-11-27 06:50:21 +00:00
ebc2b66372
* fbt: split sdk management code * scripts: fixed import handling * fbt: sdk: reformatted paths * scrips: dist: bundling libs as a build artifact * fbt: sdk: better path management * typo fix * fbt: sdk: minor path handling fixes * toolchain: fixed windows toolchain download * fbt: minor refactorin * fbt: moved sdk management code to extapps.scons * fbt: fixed sdk symbols header path; disabled -fstack-usage * fbt: changed pathing for .py scripts * fbt: changed SDK_HEADERS pathing; added libusb to SDK; added icon_i.h to SDK; added hw target to SDK meta * fbt: added libusb headers to SDK * picopass: include cleanup; api: added subghz/registry.h; api: added mbedtls to exported headers * picopass: fixed formatting * fbt: fixed COPRO_ASSETS_SCRIPT * sdk: added basic infrared apis * toolchain: added ufbt to list of legal fbtenv callers; updated error messages * fbt: changed manifest collection & icon processing code * fbt: simpler srcdir lookup * toolchain: path management fixes; fbt: fixes for fap private libs paths * scripts: toolchain: reworked download on Windows * toolchain: v17 * scripts: added colorlog for logging * Github: fix unit tests 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("one_wire/one_wire_host_timing.h"),
|
|
File("one_wire/one_wire_host.h"),
|
|
File("one_wire/one_wire_slave.h"),
|
|
File("one_wire/one_wire_device.h"),
|
|
File("one_wire/ibutton/ibutton_worker.h"),
|
|
File("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")
|