ufbt: fixed generated project paths on Windows (#3339)

This commit is contained in:
hedger 2024-01-10 14:37:28 +03:00 committed by GitHub
parent 7eeb60e17e
commit 8c04947aa2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 18 additions and 2 deletions

View file

@ -365,7 +365,7 @@ for template_file in project_template_dir.Dir(".vscode").glob("*"):
"@UFBT_TOOLCHAIN_OPENOCD@": _path_as_posix(dist_env.WhereIs("openocd")),
"@UFBT_APP_DIR@": _path_as_posix(original_app_dir.abspath),
"@UFBT_ROOT_DIR@": _path_as_posix(Dir("#").abspath),
"@UFBT_DEBUG_DIR@": dist_env["FBT_DEBUG_DIR"],
"@UFBT_DEBUG_DIR@": _path_as_posix(dist_env["FBT_DEBUG_DIR"].abspath),
"@UFBT_DEBUG_ELF_DIR@": _path_as_posix(
dist_env["FBT_FAP_DEBUG_ELF_ROOT"].abspath
),

View file

@ -8,7 +8,7 @@
"configurationProvider": "ms-vscode.cpptools",
"cStandard": "gnu17",
"cppStandard": "c++17"
},
}
],
"version": 4
}

View file

@ -1,3 +1,7 @@
// This file is autogeneated by the ufbt.
// You can modify it, and it will not be overwritten if exists.
// Some paths are absolute, and will need to be updated if you move the project.
// To regenerate the file, delete it and run `ufbt vscode_dist` again.
{
// See https://go.microsoft.com/fwlink/?LinkId=827846 to learn about workspace recommendations.
// Extension identifier format: ${publisher}.${name}. Example: vscode.csharp

View file

@ -1,3 +1,7 @@
// This file is autogeneated by the ufbt.
// You can modify it, and it will not be overwritten if exists.
// Some paths are absolute, and will need to be updated if you move the project.
// To regenerate the file, delete it and run `ufbt vscode_dist` again.
{
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",

View file

@ -1,3 +1,7 @@
// This file is autogeneated by the ufbt.
// You can modify it, and it will not be overwritten if exists.
// Some paths are absolute, and will need to be updated if you move the project.
// To regenerate the file, delete it and run `ufbt vscode_dist` again.
{
"cortex-debug.enableTelemetry": false,
"cortex-debug.variableUseNaturalFormat": false,

View file

@ -1,3 +1,7 @@
// This file is autogeneated by the ufbt.
// You can modify it, and it will not be overwritten if exists.
// Some paths are absolute, and will need to be updated if you move the project.
// To regenerate the file, delete it and run `ufbt vscode_dist` again.
{
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format