How to setup VS Code for raspberry pi pico w Windows

Опубликовано: 23 Июль 2022
на канале: Circuit Secrets
11,804
94

This video covers setting up the build environment for programing the raspberry pi pico w with C/C++.
The same process is used to program both the Raspberry pi pico, and the Raspberry pi pico W.
If you already have the build environment set up to program the pi pico, and only need to figure out how to compile the examples for the raspberry pi pico W
skip to the end of the video where I show you the necessary changes to the CNakelists file..

The required packages are...

ARM GCC compiler "https://developer.arm.com/downloads/-..."

CMAKE "https://cmake.org/download/"

Visual Studio Build Tools "https://visualstudio.microsoft.com/do..."

Python "https://www.python.org/downloads/"

GIT "https://git-scm.com/download/win"

Visual studio code "https://code.visualstudio.com/download"


The Git commands are...
"git clone -b master https://github.com/raspberrypi/pico-sdk"
"git submodule update –-init"
"git clone -b master https://github.com/raspberrypi/pico-e..."


The lines you need to add to CMakelists to allow the pico w examples to compile are..
"set(PICO_BOARD pico_w)"
"set(WIFI_SSID "Your Network")"
"set(WIFI_PASSWORD "Your Password")"
"set(TEST_TCP_SERVER_IP "192.168.0.1")"
Change the above values to suit your needs.

If you found this video helpful please don't forget to like and subscribe.


Смотрите видео How to setup VS Code for raspberry pi pico w Windows онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Circuit Secrets 23 Июль 2022, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 11,804 раз и оно понравилось 94 людям.