EasyManua.ls Logo

Raspberry Pi Pico Series - Appendix D: Use Other Integrated Development Environments; Use Eclipse; Setting up Eclipse for Pico on a Linux Machine

Raspberry Pi Pico Series
54 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Appendix D: Use other Integrated
Development Environments
The recommended Integrated Development Environment (IDE) is Visual Studio Code. However other environments can
be used with Raspberry Pi microcontrollers and Raspberry Pi Pico-series.
Use Eclipse
Eclipse is a multiplatform Integrated Development environment (IDE) available for Linux, macOS, and Windows. The
latest version works well on the Raspberry Pi 4, 400, and 5 (4GB and up) running a 64-bit OS. The following instructions
describe how to set up Eclipse on a Linux device for to develop on Pico-series devices. Instructions for other systems
will be broadly similar, although the details of connecting to Pico-series devices vary.
Setting up Eclipse for Pico on a Linux machine
Prerequisites:
Device running a recent version of Linux with at least 4GB of RAM
64-bit operating system.
CMake 3.11 or newer
If using a Raspberry Pi, you should enable the standard UART by adding the following to config.txt
enable_uart=1
You should also install OpenOCD and the SWD debug system. See [debug_probe_section] for instructions on how to do
this.
Installing Eclipse and Eclipse plugins
Install the latest version of Eclipse IDE for Embedded C/C++ Developers using the standard instructions. If you are
running on an ARM platform, you will need to install an AArch64 (64-bit ARM) version of Eclipse. All versions can be
found on the Eclipse website. https://www.eclipse.org/downloads/packages
Download the correct file for your system, and extract it. You can then run it by going to the place where it was extracted
and running the 'eclipse' executable.
$ ./eclipse
The Embedded CDT version of Eclipse includes the C/C++ development kit and the Embedded development kit, so has
everything you need to develop for Pico-series devices.
Using pico-examples
The standard build system for the Pico environment is CMake. However Eclipse does not use CMake as it has its own
build system, so we need to convert the pico-examples CMake build to an Eclipse project.
Getting started with Raspberry Pi Pico-series
Use Eclipse 42

Table of Contents

Related product manuals