Getting started with Raspberry Pi Pico
Figure 31. Configuring
a second CMake
profile in CLion.
10.2.1.1.2. Running a build
Now we can choose to build one or more targets. For example you can navigate to the drop down selector in the middle
of the toolbar, and select or starting typing
Alternatively you can do a full build of all targets or other types of build from the
Figure 32.
hello_usb
successfully built.
Note that the drop down selector lets you choose both the target you want to build and a CMake profile to use (in this
case one of
Another thing you'll notice
These are showing you the target and CMake profile being used to control syntax highlighting etc. in the editor (This
was auto selected when you chose
user, that PICO_STDIO_USB is set, but PICO_STDIO_UART is not (which are part of the configuration of hello_usb). Build
time per binary configuration of libraries is heavily used within the SDK, so this is a very nice feature.
10.2. Using CLion
or
)
Debug
Release
Figure 32
shows is that in the bottom status bar, you can see
hello_usb
; then press the tool icon to its left to build (see
hello_usb
before). You can visually see in the
Figure
menu.
Build
and
hello_usb
Debug
file that has been opened by the
stdio.c
32).
again.
53
Need help?
Do you have a question about the RP2040 and is the answer not in the manual?