126 lines
3.3 KiB
JSON
126 lines
3.3 KiB
JSON
{
|
|
"package": {
|
|
"name": "product-vamp",
|
|
"artifact": {
|
|
"enabled": true,
|
|
"targets": [
|
|
"arm_64_gcc12_release"
|
|
],
|
|
"install_prefix": ".",
|
|
"cmake_definitions": {
|
|
"VAMP_BUILD_PICO_FIRMWARE": true,
|
|
"VAMP_BUILD_ZERO_IMAGE": true
|
|
},
|
|
"registry_url": "https://git.thyme-labs.com/api/packages/khodo/generic",
|
|
"upload_env": "PRODUCT_VAMP_PACKAGE_UPLOAD"
|
|
}
|
|
},
|
|
"tests": {
|
|
"enabled": true,
|
|
"name": "product-vamp"
|
|
},
|
|
"tooling": {
|
|
"editor": {
|
|
"clangd": [
|
|
{
|
|
"CompileFlags": {
|
|
"CompilationDatabase": "build/build_x86_debug",
|
|
"Add": ["-Wall", "-Wextra"]
|
|
},
|
|
"Diagnostics": {"ClangTidy": {"Remove": ["*"]}}
|
|
},
|
|
{
|
|
"If": {"PathMatch": "(include/vamp_pico/.*|src/vamp_pico/.*)"},
|
|
"CompileFlags": {"CompilationDatabase": "build/build_pico_debug"}
|
|
}
|
|
],
|
|
"pyright": {
|
|
"include": ["modulus.py", "conanfile.py", "generator", "tools", "tests", "build/build_tools"],
|
|
"extraPaths": ["build/build_common/modulus", "."],
|
|
"typeCheckingMode": "off",
|
|
"reportMissingImports": false,
|
|
"reportMissingModuleSource": false
|
|
}
|
|
},
|
|
"default_target": "x86_64_gcc12_debug",
|
|
"docker": {
|
|
"image": "product-vamp-modulus-build:dev"
|
|
},
|
|
"remote": {
|
|
"name": "khodo",
|
|
"url": "https://git.thyme-labs.com/api/packages/khodo/conan"
|
|
},
|
|
"lsp": {
|
|
"enabled": true,
|
|
"clangd": {
|
|
"query_drivers": [
|
|
"/usr/bin/gcc-12", "/usr/bin/g++-12",
|
|
"/usr/bin/aarch64-linux-gnu-gcc-12", "/usr/bin/aarch64-linux-gnu-g++-12",
|
|
"/usr/bin/arm-none-eabi-gcc", "/usr/bin/arm-none-eabi-g++"
|
|
],
|
|
"header_roots": ["/opt/pico-sdk"]
|
|
},
|
|
"compile_databases": [
|
|
{
|
|
"name": "pico",
|
|
"build_dir": "build/build_pico_debug",
|
|
"cmake_definitions": {
|
|
"CMAKE_BUILD_TYPE": "Debug",
|
|
"VAMP_PICO_FIRMWARE_PROJECT": true,
|
|
"PICO_BOARD": "pico2_w",
|
|
"PICO_GCC_TRIPLE": "arm-none-eabi",
|
|
"PICO_SDK_FETCH_FROM_GIT": false
|
|
},
|
|
"unset_env": [
|
|
"CC",
|
|
"CXX",
|
|
"CPP",
|
|
"AS",
|
|
"AR",
|
|
"LD",
|
|
"RANLIB",
|
|
"STRIP",
|
|
"CFLAGS",
|
|
"CXXFLAGS",
|
|
"CPPFLAGS",
|
|
"LDFLAGS"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"run": {
|
|
"enabled": true,
|
|
"target": "x86_64_gcc12_debug",
|
|
"executable": "vamp-zero",
|
|
"args": [
|
|
"--config",
|
|
"package/config/vamp.example.json",
|
|
"--once"
|
|
],
|
|
"ports": [
|
|
"127.0.0.1:8080:8080/tcp"
|
|
]
|
|
},
|
|
"targets": {
|
|
"x86_64_gcc12_debug": {
|
|
"profile": "conan/profiles/x86_64_gcc12_debug",
|
|
"build_dir": "build/build_x86_debug",
|
|
"can_run": true,
|
|
"build_type": "Debug"
|
|
},
|
|
"x86_64_gcc12_release": {
|
|
"profile": "conan/profiles/x86_64_gcc12_release",
|
|
"build_dir": "build/build_x86_release",
|
|
"can_run": true,
|
|
"build_type": "Release"
|
|
},
|
|
"arm_64_gcc12_release": {
|
|
"profile": "conan/profiles/arm_64_gcc12_release",
|
|
"build_dir": "build/build_arm_release",
|
|
"can_run": false,
|
|
"build_type": "Release"
|
|
}
|
|
}
|
|
}
|
|
}
|