Raspberry Pi RP2040 Getting Started page 49

Table of Contents

Advertisement

Getting started with Raspberry Pi Pico
10.1.1.5. Creating a Run configuration
In order to run or debug code in Eclipse you need to set up a Run Configuration. This sets up all the information needed
to identify the code to run, any parameters, the debugger, source paths and SVD information.
From the Eclipse Run menu, select
option, then select the
Figure 23. Creating a
new Run/Debug
configuration in
Eclipse.
10.1.1.5.1. Setting up the application to run
Because the pico-examples build creates lots of different application executables, you need to select which specific one
is to be run or debugged.
On the
tab of the Run configuration page, use the
Main
The Eclipse build will have created the executables in sub folders of the Eclipse project folder. In our example case this
is
.../pico-examples-eclipse/<name of example folder>/<optional name of example subfolder>/executable.elf
So for example, if we running the LED blink example, this can be found at:
.../pico-examples-eclipse/blink/blink.elf
10.1. Using Eclipse
Run Configurations
button.
New Configuration
. To create a debugger configuration, select
option to select the C/C++ applications you wish to run.
Browse
GDB OpenOCD Debugging
48

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the RP2040 and is the answer not in the manual?

This manual is also suitable for:

Pico

Table of Contents

Save PDF