mirror of
https://github.com/DarkFlippers/unleashed-firmware.git
synced 2024-11-23 19:00:43 +03:00
9829145d8c
* fbt: fixed include paths for generated version header * lib: STM32CubeWB: refactored & cleaned up WPAN include paths * hal: linter fixes for new headers * fbt: added version_json target * Added .pvsconfig; split common_defines.h into 2 files * Added PVS-Studio basic configuration files; updated .gitignore Co-authored-by: あく <alleteam@gmail.com>
20 lines
467 B
Python
20 lines
467 B
Python
Import("env")
|
|
|
|
env.Append(LINT_SOURCES=["firmware"])
|
|
|
|
libenv = env.Clone(FW_LIB_NAME="flipper${TARGET_HW}")
|
|
libenv.Append(
|
|
CPPPATH=[
|
|
"#/lib/STM32CubeWB/Middlewares/ST/STM32_WPAN/interface/patterns/ble_thread/tl",
|
|
]
|
|
)
|
|
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")
|