• sales

    +86-0755-88291180

Pico-Get-Start-Windows

Windows Environment Setting Tutorial

  • This tutorial is applicable to the Raspberry Pi Pico and the RP2040 series development board developed by our company.
  • The default development environment is Windows for example (the Raspberry Pi can be installed with the official installation script).

C/C++ SDK

You need to install the corresponding toolchain are:

  1. Arm GNU Toolchain (You need to install the corresponding version, such as Windows needs to install the file with the suffix -arm-none-eabi.exe.)
  2. CMake
  3. Visual Studio 2022
  4. Python 3.10
  5. Git
  • Also, we have packaged the installation package and uploaded it to our server.
  • You can click here to download the installation package.

How to Install

Arm GNU Toolchain

  1. Select language.

  2. Enter the installation wizard.

  3. Agree to the user agreement and continue.

  4. Select the installation address.

  5. Wait for the installation to complete.

  6. Note: Check the option in the red box in the picture.

CMake

  1. Enter the installation wizard.

  2. Agree to the user agreement and continue.

  3. Add CMake to the system PATH for all users.

  4. Select the installation location.

  5. Enter to install.

  6. Finish.

Python

  1. Enter to install and check tp add PATH.

  2. Wait for installation.

  3. Friends who have the options in the red box can click to disable the PATH length limit.

Git

  • There are many installation options for Git and the length is relatively long. Here we only point out the recommended modification parts, and the default settings for the rest of the options are recommended.
  1. Choose an installation location.

  2. Choose Git default editor (here I choose VS Code).

  3. Next, keep the default settings, select Next, and finally the installation is successful.

Visual Studio 2022

Visual Studio 2022 installation is very linear, just note the following one point.
When selecting a build tool, select the C++ tool in the figure:

Get and Compile the Demo

Get SDK Demo

In the folder where you want to download the SDK, Shift + right click -> select "Open powershell here" and enter the command:

git clone -b master https://github.com/raspberrypi/pico-sdk.git
cd pico-sdk
git submodule update --init
cd ..
git clone -b master https://github.com/raspberrypi/pico-examples.git

Set the Environment and Compile

  1. Open your VS 2022 -> Tools -> Command Line -> Developer PowerShell.

  2. Set the absolute address of your pico-sdk to PICO_SDK_PATH, for example, my pico-sdk address is "D:\pico\pico-sdk".

  3. Jump to the folder where pico-examples is located, create a build folder and compile.

  4. Just wait for the compilation to complete (note that all demos are compiled here, so the compilation time is a bit long).

  • The following are all instructions:
setx PICO_SDK_PATH "..\..\pico-sdk"
cd pico-examples
mkdir build
cd build
cmake -G "NMake Makefiles" ..
nmake

Download the Firmware

Select the demo firmware you need to download, and drag it into the memory simulated by pico:

TAG: ESP32 ST7789 configuration ESP32 S3 5 inch LCD Development Board 800x480 TouchScreen Display TVBOX LVGL HMI Sensor CAN RS485 JETSON NANO MINI Expansion Board ESP32-S3 1.28inch Round LCD Display Screen Module Development Board GC9A01A QMI8658A With Case Raspberry Pi 5 PCIe to M.2 NVMe SSD Adapter Board C HAT Pi5-PCIe-2280-2242-2230 Raspberry Pi Pico 2 RP2350 1.69 inch LCD TouchScreen Development Board 240x280 1.69inch Display QMI8658 6-Axis Raspberry Pi Pico rp2040 Display image 1.3inch LCD ST7789 change bmp to hex Raspberry Pi 5 UNO Minima RA4M1 ZERO Tiny SuperMini R7FA4M1 Board Compatible With R4 For Arduino ESP32 C5 Development Board 1.47 inch LCD Display Screen ST7789 For WiFi6/LVGL/HMI Onborad SD-Port/RGB-LED ESP32-P4 PICO Development Board with MIPI DSI 10.1-inch Display Argon ONE V3 Case with FAN IR For Raspberry Pi 5 Raspberry Pi CM5 to Pi 5 Expansion Board With USB microphone & Audio Port Rockchip ESP32-S3 Industrial 8-CH Relay IOT LAN WiFi /Bluetooth /RS485 /RJ45 Ethernet /POE spotpear Raspberry Pi 10.1 inch LCD HDM Display Capacitive TouchScreen 10.1EP-CAPLCD 1920x1200 For Jetson Nano/mini Computer PC Development Board ESP32 C3 LCD Development Board 1.3 inch Display Screen ST7789 240x240 3D Transparent Refractive Prism Mini TV For Arduino Milk V