2022-06-26 12:00:03 +00:00
|
|
|
Import("env")
|
|
|
|
|
|
|
|
env.Append(LINT_SOURCES=["firmware"])
|
|
|
|
|
|
|
|
libenv = env.Clone(FW_LIB_NAME="flipper${TARGET_HW}")
|
2022-08-22 17:06:17 +00:00
|
|
|
libenv.Append(
|
|
|
|
CPPPATH=[
|
|
|
|
"#/lib/STM32CubeWB/Middlewares/ST/STM32_WPAN/interface/patterns/ble_thread/tl",
|
|
|
|
]
|
|
|
|
)
|
2022-06-26 12:00:03 +00:00
|
|
|
libenv.ApplyLibFlags()
|
|
|
|
|
|
|
|
|
|
|
|
sources = ["targets/f${TARGET_HW}/startup_stm32wb55xx_cm4.s"]
|
|
|
|
sources += libenv.GlobRecursive("*.c")
|
|
|
|
|
|
|
|
lib = libenv.StaticLibrary("${FW_LIB_NAME}", sources)
|
|
|
|
libenv.Install("${LIB_DIST_DIR}", lib)
|
|
|
|
Return("lib")
|