mirror of
https://github.com/flipperdevices/flipperzero-firmware.git
synced 2025-12-13 05:19:50 +04:00
[FL-3690] Libraries cleanup; u2f crypto rework to use mbedtls (#3234)
* examples: plugins: utilize fal_embedded * libs: removed fnv1a_hash * furi: added FURI_PACKED; apps, libs: changed to use FURI_PACKED * lib: mbedtls: using custom config * lib: toolbox: removed md5, switched to mbedtls * targets: f18: link fix * lib: added mbedtls_cfg.h * apps: nfc: explicit dependency on libmbedtls * u2f: reworking to mbedtls * u2f: replaced sha256 & hmac with mbedtls * u2f: functional rework using mbedtls * libs: dropped micro-ecc * u2f: dropped old implementation * toolbox: removed sha256 impl * mcheck() for mbedtls * libs: removed libmisc; split into smaller libs * apps: debug: fixed display_test * apps: include cleanups * fbt: fixed VERSIONCOMSTR * furi: added FURI_CHECK_RETURN * lib: removed qrcode * cleanup * fbt: lint_py+format_py: fixed excessive command length * api: Removed bzero from f7 * api: Removed bzero from f18 * Bump API Symbols Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com>
This commit is contained in:
@@ -1,87 +1,24 @@
|
||||
Import("env")
|
||||
|
||||
env.Append(
|
||||
LINT_SOURCES=[
|
||||
Dir("app-scened-template"),
|
||||
Dir("digital_signal"),
|
||||
Dir("pulse_reader"),
|
||||
Dir("signal_reader"),
|
||||
Dir("drivers"),
|
||||
Dir("flipper_format"),
|
||||
Dir("infrared"),
|
||||
Dir("nfc"),
|
||||
Dir("subghz"),
|
||||
Dir("toolbox"),
|
||||
Dir("u8g2"),
|
||||
Dir("update_util"),
|
||||
Dir("print"),
|
||||
Dir("music_worker"),
|
||||
],
|
||||
)
|
||||
|
||||
|
||||
env.Append(
|
||||
CPPPATH=[
|
||||
"#/",
|
||||
"#/lib", # TODO FL-3553: remove!
|
||||
"#/lib/mlib",
|
||||
# Ugly hack
|
||||
Dir("../assets/compiled"),
|
||||
],
|
||||
SDK_HEADERS=[
|
||||
*(
|
||||
File(f"#/lib/mlib/m-{name}.h")
|
||||
for name in (
|
||||
"algo",
|
||||
"array",
|
||||
"bptree",
|
||||
"core",
|
||||
"deque",
|
||||
"dict",
|
||||
"list",
|
||||
"rbtree",
|
||||
"tuple",
|
||||
"variant",
|
||||
)
|
||||
),
|
||||
],
|
||||
CPPDEFINES=[
|
||||
'"M_MEMORY_FULL(x)=abort()"',
|
||||
],
|
||||
)
|
||||
|
||||
|
||||
# drivers
|
||||
# fatfs
|
||||
# flipper_format
|
||||
# infrared
|
||||
# littlefs
|
||||
# subghz
|
||||
# toolbox
|
||||
# one_wire
|
||||
# micro-ecc
|
||||
# misc
|
||||
# digital_signal
|
||||
# fnv1a_hash
|
||||
# microtar
|
||||
# nfc
|
||||
# qrcode
|
||||
# u8g2
|
||||
# update_util
|
||||
# heatshrink
|
||||
# nanopb
|
||||
# apps
|
||||
# app-scened-template
|
||||
# callback-connector
|
||||
# app-template
|
||||
|
||||
|
||||
libs = env.BuildModules(
|
||||
[
|
||||
"mlib",
|
||||
"stm32wb",
|
||||
"freertos",
|
||||
"print",
|
||||
"microtar",
|
||||
"mbedtls",
|
||||
"toolbox",
|
||||
"libusb_stm32",
|
||||
"drivers",
|
||||
@@ -91,17 +28,19 @@ libs = env.BuildModules(
|
||||
"ibutton",
|
||||
"infrared",
|
||||
"littlefs",
|
||||
"mbedtls",
|
||||
"subghz",
|
||||
"nfc",
|
||||
"digital_signal",
|
||||
"pulse_reader",
|
||||
"signal_reader",
|
||||
"appframe",
|
||||
"misc",
|
||||
"u8g2",
|
||||
"lfrfid",
|
||||
"flipper_application",
|
||||
"music_worker",
|
||||
"nanopb",
|
||||
"update_util",
|
||||
"heatshrink",
|
||||
],
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user