fbt: fixed include paths; added PVS-Studio configuration (#1615)

* 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>
This commit is contained in:
hedger
2022-08-22 20:06:17 +03:00
committed by GitHub
parent 5b4e732fa3
commit 9829145d8c
30 changed files with 507 additions and 157 deletions

View File

@@ -29,6 +29,7 @@ build_version = libenv.VersionBuilder(
fw_version_json = libenv.InstallAs(
"${BUILD_DIR}/${FIRMWARE_BUILD_CFG}.json", "version.json"
)
Alias("version_json", fw_version_json)
env.Append(FW_VERSION_JSON=fw_version_json)
# Default(fw_version_json)
@@ -40,7 +41,7 @@ if not version_depends:
sources = libenv.GlobRecursive("*.c")
libenv.Append(CPPPATH=["."])
libenv.Append(CPPPATH=[libenv.Dir(".")])
lib = libenv.StaticLibrary("${FW_LIB_NAME}", sources)
libenv.Install("${LIB_DIST_DIR}", lib)