- Press the Windows key
- Type 'Powershell'
- Right click 'Windows Powershell'
- Click 'Run as Administrator'
- Type
wsl --install
. This is the "Windows Subsystem for Linux" needed to use Linux commands later in this installation - Press Enter
- Wait for install to complete
- Restart your computer
- Re-open Windows Powershell using steps 1-4
- Type
wsl
and press Enter - Wait for the new Ubuntu window to finish installing
-
- Create a username and password
- Close all Powershell and Ubuntu windows
- Press the Windows key and type 'Ubuntu', then click 'Ubuntu'
- Type
sudo apt install npm
and press Enter. This is the NPM package library installer - Type
y
and press Enter when/if prompted - Wait for download to complete
- Type
sudo npm install vult -g
and press Enter. This is the Vult compiler - Type your password and press Enter when/if prompted
- Type
git clone --recursive https://github.com/DatanoiseTV/PicoADK-FreeRTOS-Template picoadk-template
and press Enter - Type
cd /
and press Enter - Type
cd mnt/c
and press Enter - You are now in your computer's C drive. Use 'cd filepath', replacing the word filepath with the actual path to your 'picoadk-template' folder. For example:
cd users/johnsmith/documents/picoadk-template
- Type
cd picoadk-template
and press Enter - Type
export PICO_SDK_FETCH_FROM_GIT=1
and press Enter - Type
mkdir build && cd build
and press Enter - Type
sudo apt install cmake gcc-arm-none-eabi libnewlib-arm-none-eabi build-essential
and press Enter - Type
y
and press Enter when/if prompted - Wait for download to complete
- Type
cmake ..
and press Enter - Wait while it downloads, it may take a long time
- Type
make
and press Enter - Wait for build to complete. This may take a while