libs: tlsf

This commit is contained in:
SG
2024-04-04 22:04:17 +03:00
parent af315bc926
commit 39899a9b0d
3 changed files with 24 additions and 1 deletions
+1
View File
@@ -13,6 +13,7 @@ env.Append(
libs = env.BuildModules(
[
"tlsf",
"mlib",
"stm32wb",
"freertos",
+21
View File
@@ -0,0 +1,21 @@
Import("env")
env.Append(
CPPPATH=[
"#/lib/tlsf",
],
)
libenv = env.Clone(FW_LIB_NAME="tlsf")
libenv.ApplyLibFlags()
libenv.Append(
CPPDEFINES=[],
)
sources = [File("tlsf/tlsf.c")]
lib = libenv.StaticLibrary("${FW_LIB_NAME}", sources)
libenv.Install("${LIB_DIST_DIR}", lib)
Return("lib")
+2 -1
View File
@@ -22,6 +22,7 @@
"print",
"flipper7",
"furi",
"tlsf",
"freertos",
"stm32wb",
"hwdrivers",
@@ -55,4 +56,4 @@
"bit_lib",
"datetime"
]
}
}