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

command:raspberry-pi-pico.launchTargetPath does not resolve correctly #48

Closed
Artagael opened this issue Aug 21, 2024 · 1 comment
Closed

Comments

@Artagael
Copy link

I am attempting to compile pshell for the pico.
I imported the project successfully, but couldn't get debug to work - getting a message that the executable ${PSHELL}.elf could not be found. It appears that the definition of the executable in launch.json does not properly resolve targets which are defined in terms of environment variables (in this case depending on choice of console.
replacing command:raspberry-pi-pico.launchTargetPath with the path to the actual executable works - but breaks the optionality built into the cmakefile.

@will-v-pi
Copy link
Collaborator

Yes, this is not supported in the extension by default - only projects where the project name is not a variable, and is the same name as the only executable, will work by default. You can switch the extension to using the CMake Tools extension to fix this - see #37 for more details, and #46 for how we're thinking of integrating this into the import project wizard

@will-v-pi will-v-pi closed this as not planned Won't fix, can't repro, duplicate, stale Sep 2, 2024
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

No branches or pull requests

2 participants