![]() Open Visual Studio Code from the menu – Programming > Visual Studio Code and let it load the extra components.vscode/launch.jsonĬp ide/vscode/settings.json. Update your SDK periodically with the following commands: cd pico-sdkīefore running Visual Studio Code, configure the Pico examples to run under VSCode: cd ~/pico/pico-examplesĬp ide/vscode/launch-raspberrypi-swd.json. Everything will be installed in the pico directory: You should have the complete Pico C/C++ SDK, Pico example code, plus the OpenOCD debugger and Visual Studio Code almost ready to run. After about 10 minutes, when the script has completed, reboot.Download the Pico SDK and Visual Studio Code installation script. ![]() Check your SD card has enough space available.Open Terminal by the clicking prompt icon in the top border of the desktop.The complete installation consumes about 2.5GB of storage. The Raspberry Pi Foundation provides a script which downloads and installs the SDK and Visual Studio Code when using a Raspberry Pi or Pi 400. Power the Pico by connecting a microUSB cable to the Pico from the Raspberry Pi. To view output from the Pico also connect the serial UART with three more jumper wires: Raspberry Pi Make sure the Raspberry Pi is powered down and the power supply removed before making any connections, then check them carefully before powering on.įor the SWD port connect three female / female jumper cables from the Raspberry Pi to the Pico: Raspberry Pi The Pico will be connected to the Raspberry Pi using the SWD pins allowing it to be flashing without having to put the board into Mass Storage mode by re-connecting each time. ![]() Also solder three headers to the SWD (serial wire debug) pins at the end of the board with the pins facing upwards. Prepare your Pico by soldering male header pins to both sides of the board so it can be placed in a breadboard. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |