Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 8042

SDK • Renaming project

$
0
0
I am creating new Pico C/C++ projects in VS Code (on Ubuntu 25.04) using the Pico extension. I can create both 'custom' and 'from example' projects, compile and flash without problem.

Where I come unstuck though is if I want to rename the project.

For example, if I create a project 'from example' I can't find any way of specifying a name for it (different to the name of the example). So I've tried first creating it with the example's name, then renaming the project directory and then changing all references to the old name within the project to the new name. But now I can no longer compile. I've tried 'cleaning' and 'configuring' CMake but nothing seems to work.

I'm not at all familiar with CMake and so really don't know what I'm doing here but can't help feeling I'm missing something obvious. After all, changing a project name oughtn't to be this difficult (ought it?).

Any help much appreciated, Ian.

Statistics: Posted by IanL2 — Mon Jul 28, 2025 7:14 pm



Viewing all articles
Browse latest Browse all 8042

Trending Articles