Closed will-v-pi closed 1 month ago
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.
.vscode/launch.json
programBinary
cargo generate rp-rs/rp2040-project-template
https://github.com/rp-rs/rp2040-project-template/blob/4cfa8a7d7b2991f77d85199b9d65296d54ced071/.vscode/launch.json#L27
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.
The
.vscode/launch.json
file has a hard-coded path to theprogramBinary
, which does not work if you create a project with a different name usingcargo generate rp-rs/rp2040-project-template
.https://github.com/rp-rs/rp2040-project-template/blob/4cfa8a7d7b2991f77d85199b9d65296d54ced071/.vscode/launch.json#L27
This PR replaces that file with a generated
.vscode/launch.json
file, with the correct path to theprogramBinary
. The rest of the file is unchanged.