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
RE: Need Guidance: Setting Up VS Code IDE and Development Environment for W55RP20-EVB-Pico on Windows
by Lihan__ WIZnet ·
Hello,
Your development environment is already mostly set up, so the remaining questions are mainly about how WIZnet-PICO-C selects the board, toolchain compatibility, and how to reuse the configuration for a future custom PCB.
1. W55RP20 board selection
In WIZnet-PICO-C,
BOARD_NAMEis used to select the target WIZnet board configuration from the boards supported by the repository.For W55RP20-EVB-Pico, use:
This selects the W55RP20/W5500-related configuration used by the WIZnet examples.
You do not need to define
W55RP20_EVB_PICOas a separate Pico SDKPICO_BOARD.The repository uses
BOARD_NAMEas its own board-selection mechanism so that multiple WIZnet boards can be supported from the same project.WIZnet-PICO-C:
https://github.com/WIZnet-ioNIC/WIZnet-PICO-C
2. Toolchain versions
Your current environment is:
Pico SDK 2.2.0
ARM GCC 15.x
CMake 4.4.5
Ninja 1.13.2
Python 3.15.1
These newer versions may work without any issue, and newer compilers can also provide better diagnostics and bug fixes.
However, compiler behavior, warnings, optimizations, and compatibility checks can change between versions. For example, code that previously produced only a warning may become an error with a newer compiler.
For reproducibility, you can use the versions documented in the W55RP20-S2E project as a known tested reference:
Pico SDK 2.2.0
ARM GCC 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
https://github.com/WIZnet-ioNIC/W55RP20-S2E#required-build-environment
If your current GCC 15.x environment builds successfully and the firmware operates correctly on the hardware, there is no requirement to downgrade. The documented versions are mainly useful as a reference configuration when reproducibility or troubleshooting is important.
3. Custom PCB based on W55RP20
If you later design your own PCB using W55RP20, the internal connection between the RP2040 and W5500 remains the same because it is fixed inside the W55RP20 SiP.
Therefore, in most cases, you can reuse the existing W55RP20 configuration and only adjust the board-specific peripherals used by your product, such as:
GPIO
UART
LEDs
buttons
external peripherals
A separate board definition is only necessary if you want to maintain your custom hardware configuration independently in your project.
For WIZnet-PICO-C, board-dependent Ethernet interface code is located under the
port/directory.4. Build workflow
Since you already have VS Code, the Raspberry Pi Pico extension, the toolchain, and all Git submodules installed, you can continue directly with the WIZnet-PICO-C repository.
The typical flow is:
Open WIZnet-PICO-C in VS Code.
Set:
set(BOARD_NAME W55RP20_EVB_PICO)Configure and build the project.
Select the Ethernet example you want to test.
Generate the UF2 file.
Flash it using BOOTSEL mode or your preferred debug/programming method.
If you still see a CMake or board-related error after setting
BOARD_NAME, please share the exact error message and the relevant part of yourCMakeLists.txt, and we can check it in more detail.