rp-rs / rp2040-project-template

A basic rp2040-hal project with blinky and rtt logging example code. With this you can quickly get started on a new rp2040 project
480 stars 98 forks source link

Fix project name in generated launch.json #83

Closed will-v-pi closed 1 month ago

will-v-pi commented 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.

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.