diff --git a/scripts/pico_project.py b/scripts/pico_project.py index 753ffdb..a45a557 100644 --- a/scripts/pico_project.py +++ b/scripts/pico_project.py @@ -735,7 +735,7 @@ def generateProjectFiles(projectPath, projectName, sdkPath, projects, debugger, if debugger == "raspberrypi-swd.cfg": shutil.copyfile(sourcefolder + "/" + "raspberrypi-swd.cfg", projectPath / "raspberrypi-swd.cfg") - gdbPath = Path(codeToolchainPath(toolchainVersion)+"/bin/arm-none-eabi-gdb").as_posix() if isWindows else "gdb-multiarch" if isMac else "gdb" + gdbPath = Path(codeToolchainPath(toolchainVersion)+"/bin/arm-none-eabi-gdb").as_posix() if isWindows or isMac else "gdb" # Need to escape windows files paths backslashes # TODO: env in currently not supported in compilerPath var #cPath = f"${{env:PICO_TOOLCHAIN_PATH_{envSuffix}}}" + os.path.sep + os.path.basename(str(compilerPath).replace('\\', '\\\\' ))