mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-06-07 19:01:54 -07:00
libs: tlsf
This commit is contained in:
@@ -13,6 +13,7 @@ env.Append(
|
||||
|
||||
libs = env.BuildModules(
|
||||
[
|
||||
"tlsf",
|
||||
"mlib",
|
||||
"stm32wb",
|
||||
"freertos",
|
||||
|
||||
@@ -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")
|
||||
@@ -22,6 +22,7 @@
|
||||
"print",
|
||||
"flipper7",
|
||||
"furi",
|
||||
"tlsf",
|
||||
"freertos",
|
||||
"stm32wb",
|
||||
"hwdrivers",
|
||||
@@ -55,4 +56,4 @@
|
||||
"bit_lib",
|
||||
"datetime"
|
||||
]
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user