-
Notifications
You must be signed in to change notification settings - Fork 17
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
Improve project importing and CMake Tools integration for pico-examples #46
Comments
Defaults to pico board for now, but board selection can be added in future
Another suggestion: When importing an existing project, check if its BTW, should the |
You shouldn't need to import an existing project - if it already has those lines at the top it should work with the extension without needing an import. If you have a project like that which does require an import to work, could you share it so we can figure out why it's not being detected as a pico project? The |
Skips adding the DO_NOT_EDIT_HEADER when importing project which already has one, and replace an old prefix with a new one Relates to raspberrypi#46, raspberrypi#122
The pico-examples repository is just one example, but there are a couple of improvements that I think will help with importing other projects too:
set(PICO_BOARD xxx CACHE STRING "Board type")
to the imported project CMakeLists.txt - and also add board selection to the Import Project webview"raspberry-pi-pico.cmakeAutoConfigure": true
->false
"raspberry-pi-pico.useCmakeTools": false
->true
"cmake.configureOnEdit": false
->true
"cmake.automaticReconfigure": false
->true
"cmake.configureOnOpen": false
->true
cmake-kits.json
- it's not necessary, as the SDK configures the correct oneThe text was updated successfully, but these errors were encountered: