mirror of
https://github.com/DarkFlippers/unleashed-firmware.git
synced 2024-11-22 09:24:28 +03:00
890c9e87ce
* 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>
32 lines
556 B
Plaintext
32 lines
556 B
Plaintext
from fbt.util import GLOB_FILE_EXCLUSION
|
|
|
|
Import("env")
|
|
|
|
env.Append(
|
|
CPPPATH=[
|
|
"#/lib/nanopb",
|
|
],
|
|
CPPDEFINES=[
|
|
"PB_ENABLE_MALLOC",
|
|
],
|
|
SDK_HEADERS=[
|
|
File("nanopb/pb.h"),
|
|
File("nanopb/pb_decode.h"),
|
|
File("nanopb/pb_encode.h"),
|
|
],
|
|
)
|
|
|
|
|
|
libenv = env.Clone(FW_LIB_NAME="nanopb")
|
|
libenv.ApplyLibFlags()
|
|
|
|
sources = Glob(
|
|
"nanopb/*.c*",
|
|
exclude=GLOB_FILE_EXCLUSION,
|
|
source=True,
|
|
)
|
|
|
|
lib = libenv.StaticLibrary("${FW_LIB_NAME}", sources)
|
|
libenv.Install("${LIB_DIST_DIR}", lib)
|
|
Return("lib")
|