Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix project name in generated launch.json #83

Merged
merged 1 commit into from
Sep 20, 2024
Merged

Conversation

will-v-pi
Copy link
Contributor

The .vscode/launch.json file has a hard-coded path to the programBinary, which does not work if you create a project with a different name using cargo generate rp-rs/rp2040-project-template.

"programBinary": "target/thumbv6m-none-eabi/debug/rp2040-project-template",

This PR replaces that file with a generated .vscode/launch.json file, with the correct path to the programBinary. The rest of the file is unchanged.

@@ -0,0 +1,45 @@
// The format of this file is specified in https://probe.rs/docs/tools/vscode/#start-a-debug-session-with-minimum-configuration
Copy link
Member

@jannic jannic Sep 20, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This URL gives me a 404.

BTW json doesn't allow for comments. Did you verify that it's fine for vscode?

EDIT: nvm. I just noticed that this is copied from an already existing file. We still should fix the URL, but that can be done separately.

@jannic jannic merged commit 84fd7a8 into rp-rs:main Sep 20, 2024
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants