Does anyone have an example of a cmake config for pi-pico project?

  • It sounds like you want to know 1) How to compile a pi-pico project. 2) How to implement that process using cmake. If you already know #1 and you have used cmake before, then it should not be too hard to come up with a more specific question. If you haven't used cmake before, then you need to begin learning that and ask (specific) questions as necessary. Alternately, you could ask for a simple example of a pi-cpio project, which is how I've edited this...
    – goldilocks
    Commented Mar 7, 2021 at 20:33
  • ...I recommend you add something more specific to that, such as showing what you've tried and indicate specifically and explicitly points where it doesn't work or you are not sure what to do.
    – goldilocks
    Commented Mar 7, 2021 at 20:36

1 Answer 1


The official documentation has lots of cmake examples. Chapter 3 of the 'Getting started with pico' has one.

There are lots more examples in the documentation.



Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.