Merge branch 'zlo/zlib-tests' of https://github.com/flipperdevices/flipperzero-firmware into mntm-dev

This commit is contained in:
Willy-JL
2024-05-02 01:49:31 +01:00
5 changed files with 40 additions and 0 deletions
+3
View File
@@ -47,3 +47,6 @@
[submodule "lib/tlsf"]
path = lib/tlsf
url = https://github.com/espressif/tlsf
[submodule "lib/uzlib"]
path = lib/uzlib
url = https://github.com/pfalcon/uzlib.git
+1
View File
@@ -40,6 +40,7 @@ libs = env.BuildModules(
"lfrfid",
"flipper_application",
"music_worker",
"uzlib",
"mjs",
"nanopb",
"update_util",
Submodule
+1
Submodule lib/uzlib added at 6d60d651a4
+34
View File
@@ -0,0 +1,34 @@
Import("env")
env.Append(
# CPPPATH=[
# "#/lib/subghz",
# ],
# SDK_HEADERS=[
# File("environment.h"),
# ],
)
libenv = env.Clone(FW_LIB_NAME="uzlib")
libenv.ApplyLibFlags()
libenv.AppendUnique(
CCFLAGS=[
"-Wno-redundant-decls",
"-Wno-sign-compare",
],
)
sources = [
"uzlib/src/adler32.c",
"uzlib/src/crc32.c",
"uzlib/src/defl_static.c",
"uzlib/src/genlz77.c",
"uzlib/src/tinfgzip.c",
"uzlib/src/tinflate.c",
"uzlib/src/tinfzlib.c",
]
lib = libenv.StaticLibrary("${FW_LIB_NAME}", sources)
libenv.Install("${LIB_DIST_DIR}", lib)
Return("lib")
+1
View File
@@ -32,6 +32,7 @@
"toolbox",
"nfc",
"digital_signal",
"uzlib",
"pulse_reader",
"signal_reader",
"microtar",