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

Flashing does not work inside of workspaces #53

Closed
ambiguousname opened this issue Aug 24, 2024 · 2 comments
Closed

Flashing does not work inside of workspaces #53

ambiguousname opened this issue Aug 24, 2024 · 2 comments

Comments

@ambiguousname
Copy link

The Flash command is reliant on the command ${command:raspberry-pi-pico.getTarget}, which tries to locate CMakeCache.txt before failing. Because I'm using a workspace, CMakeCache.txt is in a subdirectory.

For now, my workaround fix is just to set the target manually, but it'd be nice to have some sort of configuration option so I can point to where CMakeCache.txt is.

So far this command and the Quick Access panel seem to suffer from this issue, and everything else works fine inside of a workspace with some minor tweaking.

@will-v-pi
Copy link
Collaborator

The extension doesn't support this by default - we only support having a single project open per window, with the CMakeLists.txt file in the root. You can switch the extension to using the CMake Tools extension which should be able to fix this - see #37 for more details, and #46 for how we're thinking of integrating this into the import project wizard

@ambiguousname
Copy link
Author

I see, thank you!

@ambiguousname ambiguousname closed this as not planned Won't fix, can't repro, duplicate, stale Aug 30, 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