Datasheet

Table Of Contents
9.2.1.5. Installing Git
When installing Git you should ensure that you change the default editor away from vim, see Figure 18.
Figure 18. Installing
Git
Ensure you tick the checkbox to allow Git to be used from third-party tools and, unless you have a strong reason
otherwise, when installing Git you should also check the box "Checkout as is, commit as-is", select "Use Windows'
default console window", and "Enable experimental support for pseudo consoles" during the installation process.
9.2.2. Getting the SDK and examples
C:\Users\pico\Downloads> git clone -b master https://github.com/raspberrypi/pico-sdk.git
C:\Users\pico\Downloads> cd pico-sdk
C:\Users\pico\Downloads\pico-sdk> git submodule update --init
C:\Users\pico\Downloads\pico-sdk> cd ..
C:\Users\pico\Downloads> git clone -b master https://github.com/raspberrypi/pico-examples.git
9.2.3. Building "Hello World" from the Command Line
Go ahead and open a Developer Command Prompt Window from the Windows Menu, by selecting Windows > Visual
Studio 2019 > Developer Command Prompt from the menu.
Then set the path to the SDK as follows,
C:\Users\pico\Downloads> setx PICO_SDK_PATH "..\..\pico-sdk"
You now need close your current Command Prompt Window and open a second Command Prompt Window where this
environment variable will now be set correctly before proceeding.
Navigate into the pico-examples folder, and build the 'Hello World' example as follows,
Getting started with Raspberry Pi Pico
9.2. Building on MS Windows 41