Need Guidance: Setting Up VS Code IDE and Development Environment for W55RP20-EVB-Pico on Windows
MCU & Boards
- W55RP20
- RP2040
- vs code
- W55RP20-EVB-Pico
- WIZnet-PICO-C
No replies yet. Be the first to reply.
Join the discussion.
MCU & Boards
No replies yet. Be the first to reply.
Join the discussion.
Share projects and connect with makers.
Joined before the site update? first.
New to WIZnet Makers?
We sent a verification link to your address. Open it to activate your account, then log in.
Accounts from this email provider are reviewed by an administrator after verification. Approval usually takes one business day.
Already have an account?
Enter your email address. If it belongs to an account, we'll send a link to set a new password. Members who joined before the site update use this to set their password.
If an account uses that address, we sent a link to set a new password. The link works once and expires in 30 minutes.
Know your password?
Need an account?
RE: Need Guidance: Setting Up VS Code IDE and Development Environment for W55RP20-EVB-Pico on Windows
by Lihan__ WIZnet ·
Hello,
First, could you clarify whether you are trying to build an existing example from WIZnet-PICO-C or creating a new project from scratch?
Here are some general guidelines to help you set up your development environment.
1. Development Environment Setup (VS Code)
The official WIZnet-PICO-C README provides instructions for setting up a development environment using Visual Studio Code on Windows.
We recommend following Chapter 3: Installing the Raspberry Pi Pico VS Code Extension in the official Getting Started with Raspberry Pi Pico documentation.
WIZnet-PICO-C Official Repository:
https://github.com/WIZnet-ioNIC/WIZnet-PICO-C
Raspberry Pi Getting Started Guide:
https://datasheets.raspberrypi.org/pico/getting-started-with-pico.pdf
2. SDK Configuration
For developing Ethernet applications with the W55RP20-EVB-Pico, we recommend starting with the official WIZnet-PICO-C repository.
This repository includes the Pico SDK, ioLibrary_Driver, mbedTLS, and various Ethernet examples.
Since you have already cloned the repository and initialized its submodules, you can start with the SDK included in the repository.
3. Board and CMake Configuration
If you are using an existing WIZnet-PICO-C example, you can select the board in the project's root
CMakeLists.txtfile:W55RP20_EVB_PICOis a board identifier used by WIZnet projects and is different from the Pico SDK'sPICO_BOARDsetting.Therefore, specifying
PICO_BOARD=W55RP20_EVB_PICOmay cause a board definition not found error in the Pico SDK.4. Toolchain and Recommended Versions
The WIZnet W55RP20-S2E project recommends the following toolchain versions for development and building:
Pico SDK: 2.2.0
ARM GCC Toolchain: 14.2.Rel1
CMake: 3.13 or later
Ninja: 1.12.x
Python: 3.8 or later
Git: Latest version
picotool: 2.2.0
OpenOCD: 0.12.0+dev
Please note that these versions are recommended specifically for the W55RP20-S2E project. For WIZnet-PICO-C, we suggest checking compatibility with the Pico SDK version included in the repository before changing any toolchain versions.
For more details, refer to the Required Build Environment section in the official W55RP20-S2E README:
https://github.com/WIZnet-ioNIC/W55RP20-S2E#required-build-environment
5. Firmware Build and Flashing
The general development workflow is as follows:
Open the project in VS Code.
Configure the project using CMake.
Build the firmware and generate the UF2 file.
Put the board into BOOTSEL mode.
Copy the generated UF2 file to the USB mass storage drive to flash the firmware.
If you are using an existing WIZnet example, please refer to the README in the corresponding example directory for detailed build and testing instructions.
6. Debugging
For hardware debugging, you can use a compatible SWD debug probe with OpenOCD.
The Cortex-Debug extension for VS Code can also be used to configure debugging features such as breakpoints, variable inspection, and step-by-step execution.
RE: RE: Need Guidance: Setting Up VS Code IDE and Development Environment for W55RP20-EVB-Pico on Windows
by erdarshpatel ·
Hello,
Thank you for the detailed explanation and recommendations.
To clarify my current situation, I am setting up the development environment for the W55RP20-EVB-Pico from scratch using Visual Studio Code on Windows 10/11.
My objective is to establish a complete, reliable, and reproducible development workflow before starting application development. I also plan to develop my own product PCB based on the W55RP20 in the future, so I would like to understand the SDK configuration and board-support mechanism properly.
1. Current development environment
I have already completed the following steps:
Installed Visual Studio Code and the official Raspberry Pi Pico VS Code extension.
Installed the required development tools, including ARM GNU Toolchain, CMake, Ninja, Git, and Python.
Successfully created and built a generic Raspberry Pi Pico project.
Cloned the official WIZnet-PICO-C repository.
Successfully initialized its Git submodules, including Pico SDK, ioLibrary_Driver, and mbedTLS.
I am currently using the Pico SDK version included in the WIZnet-PICO-C repository (2.2.0).
2. Board configuration and CMake
Initially, I tried configuring the project using:
This resulted in a board definition error because
W55RP20_EVB_PICOwas not recognized as a standard Pico SDK board.I now understand that
W55RP20_EVB_PICOis a WIZnet-specific board identifier, separate from the Pico SDK'sPICO_BOARDconfiguration.I also found the following board-selection mechanism in the root
CMakeLists.txtof WIZnet-PICO-C:Could you please confirm whether changing this variable is sufficient to configure and build the existing examples for W55RP20-EVB-Pico?
Is there any additional Pico SDK board configuration or CMake parameter required?
3. SDK and toolchain compatibility
The W55RP20-S2E project documentation recommends:
Pico SDK 2.2.0
ARM GNU Toolchain 14.2.Rel1
CMake 3.13 or later
Ninja 1.12.x
Python 3.8 or later
picotool 2.2.0
OpenOCD 0.12.0+dev
However, I would like to confirm the recommended versions specifically for the current WIZnet-PICO-C repository.
My current environment has ARM GCC 15.x, CMake 4.4.5, Ninja 1.13.2, and Python 3.15.1.
Would you recommend using these versions, or should I use the toolchain versions recommended by the W55RP20-S2E documentation?
4. VS Code integration and build workflow
Should I use the official Raspberry Pi Pico VS Code extension directly with the WIZnet-PICO-C repository?
I would appreciate a working reference or example covering:
Opening the WIZnet-PICO-C repository in VS Code.
Configuring the W55RP20 board.
Initializing the Pico SDK.
Selecting and building an existing Ethernet example.
Generating the UF2 firmware.
Flashing the firmware onto W55RP20-EVB-Pico.
5. Custom PCB development
Since I plan to develop a custom product PCB using the W55RP20 in the future, I would also like to understand how the board configuration should be adapted for custom hardware.
For example, should we maintain a separate board definition and hardware configuration, or is modifying the existing WIZnet port configuration sufficient?
6. SWD debugging
Finally, what is the recommended SWD debugging setup for W55RP20 using VS Code?
Specifically, I would appreciate guidance regarding compatible debug probes, OpenOCD configuration, and Cortex-Debug integration.
My intention is to use the official WIZnet SDK and its supported configuration wherever possible, rather than introduce unnecessary modifications or workarounds.
Thank you for your time and support. Any example project, configuration reference, or documentation specifically targeting W55RP20-EVB-Pico would be greatly appreciated.
Best regards