Getting started with Raspberry Pi Pico
Chapter 1. Quick Pico Setup
If you are developing for Raspberry Pi Pico on the Raspberry Pi 4B, or the Raspberry Pi 400, most of the installation
steps in this Getting Started guide can be skipped by running the setup script.
NOTE
This setup script requires approximately 2.5GB of disk space on your SD card, so make sure you have enough free
space before running it. You can check how much free disk space you have with the
You can get this script by running the following command in a terminal:
$ wget https://raw.githubusercontent.com/raspberrypi/pico-setup/master/pico_setup.sh
1. You should first
Then make the script executable with,
$ chmod +x pico_setup.sh
and run it with,
$ ./pico_setup.sh
The script will:
•
Create a directory called
•
Install required dependencies
•
Download the
•
Define
•
Build the
•
Download and build
•
Download and build
•
Download and compile OpenOCD (for debug support)
•
Download and install
•
Install the required Visual Studio Code extensions (see
•
Configure the Raspberry Pi UART for use with Raspberry Pi Pico
Chapter 1. Quick Pico Setup
sudo apt install wget
pico
,
pico-sdk
pico-examples
,
PICO_SDK_PATH
PICO_EXAMPLES_PATH
and
examples in
blink
hello_world
(see
Appendix
picotool
(see
Appendix
picoprobe
Visual Studio Code
if you don't have
already installed.
wget
,
, and
pico-extras
pico-playground
,
, and
PICO_EXTRAS_PATH
PICO_PLAYGROUND_PATH
pico-examples/build/blink
B), and copy it to
/usr/local/bin
A).
Chapter 7
command.
df -h
repositories
in your
~/.bashrc
and
pico-examples/build/hello_world
.
for more details)
①
4
Need help?
Do you have a question about the RP2040 and is the answer not in the manual?