Skip to content

Leverage cmake directory management and targets #49

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

sporniket
Copy link

  • use -B <path_to_build_folder> to manage build folder, instead of manually creating directory and going there.
  • use --target ... to avoid delving into specific subfolder and calling makeinstead of cmake.
  • The build folders are created outside of pico-* folders, so that they are not lost among the various subfolders of the pico-examples folder.

* use `-B <path_to_build_folder>` to manage build folder, instead of manually creating directory and going there.
* use `--target ...` to avoid delving into specific subfolder and calling `make`instead of cmake.
* The build folders are created **outside** of pico-* folders, so that they are not lost among the various subfolders of the pico-examples folder.
@lurch
Copy link
Contributor

lurch commented Mar 10, 2025

Note that pico_setup.sh was originally written to closely mirror the instructions in https://datasheets.raspberrypi.com/pico/getting-started-with-pico.pdf (back from before the Raspberry Pi Pico VS Code extension existed 😂 ), which is probably why it does things "the long way" rather than using "advanced options" ?

@sporniket
Copy link
Author

Ho I see.

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

Successfully merging this pull request may close these issues.

2 participants