Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 5960

SDK • Missing cyw43 files using Visual Studio Code plugin

$
0
0
I got a new Windows laptop and tried to create a build environment for my Pico W boards. All has changed and I used the Raspberry Pi Pico code extension for Visual Studio Code. This worked well to build the blink example for a non-W Pico but when I tried to build for a Pico W, I an error about this line: #include "pico/cyw43_arch.h" not being found. I see the board is set to pico_w but when I look in the SDK directory, I see an empty library at:
Users/Me/.pico-sdk/sdk/2.1.0/lib/cyw43-driver

Same goes for tiny_usb.

How do I get the new installer to download these files?

Should I just do a git pull like I used to do in the old days (version 1.5 SDK)? This is what I did to go from a working pico system to a pico W to get to 1.5 a year or two ago.

0. Start MSYS2 (shell)
1. Go to Documents/Pico directory (install root)
2. Go to each sub directory (pico-examples,pico-extras,pico-playground,pico-sdk)
and do a git pull
3. go to pico-sdk:
git submodule update --init
4. This seemed to work go get pico W paths and things working.

I followed the steps in the getting started guide and then repeated them saying my board was a Pico W and got the missing file errors. I also selected the picow_blink example in the hopes that it would download the required files but it failed with the same error.

Any hints would be great. I just got some pico 2 boards to try and I hope things go better with those boards.

Statistics: Posted by trossin — Tue Dec 17, 2024 8:36 pm



Viewing all articles
Browse latest Browse all 5960

Latest Images

Trending Articles



Latest Images