analog/v2-analog-rev1
2023-01-07 02:15:21 -05:00
..
cmake HW Rev 1, FW 2023-01-06-000 2023-01-07 02:15:21 -05:00
common HW Rev 1, FW 2023-01-06-000 2023-01-07 02:15:21 -05:00
lib HW Rev 1, FW 2023-01-06-000 2023-01-07 02:15:21 -05:00
parallel HW Rev 1, FW 2023-01-06-000 2023-01-07 02:15:21 -05:00
scripts HW Rev 1, FW 2023-01-06-000 2023-01-07 02:15:21 -05:00
serial HW Rev 1, FW 2023-01-06-000 2023-01-07 02:15:21 -05:00
vga HW Rev 1, FW 2023-01-06-000 2023-01-07 02:15:21 -05:00
z80 HW Rev 1, FW 2023-01-06-000 2023-01-07 02:15:21 -05:00
CMakeLists.txt HW Rev 1, FW 2023-01-06-000 2023-01-07 02:15:21 -05:00
lwipopts.h HW Rev 1, FW 2023-01-06-000 2023-01-07 02:15:21 -05:00
README.md HW Rev 1, FW 2023-01-06-000 2023-01-07 02:15:21 -05:00

Set Up Raspberry Pi Pico SDK and build the firmware

Windows Subsystem for Linux (WSL)

Windows Subsystem for Linux (WSL) allows you to install a complete Ubuntu terminal environment in minutes on your Windows machine, allowing you to develop cross-platform applications without leaving Windows. Install Ubuntu on WSL for Windows

Prepare environment

sudo apt update
sudo apt install -y build-essential

Install additional tools

GIT, Cmake

sudo apt install git cmake

GNU Arm Embedded Toolchain

Install SDK

sudo git clone https://github.com/raspberrypi/pico-sdk.git ~/pico-sdk

Initialize submodules

sudo git -C ~/pico-sdk submodule update --init

Set the PICO_SDK_PATH environment variable

export PICO_SDK_PATH=~/pico-sdk

Build the firmware

cd ~/v2-analog-fw
mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=Release ..
make
$ ls *uf2
...
v2-analog-pico_w-vga.uf2
v2-analog-pico_w-z80.uf2

Upload the firmware

Hold down the BOOTSEL button and connect the Raspberry Pi Pico to your PC via micro USB cable. Once Pico is connected release the BOOTSEL button. Pi Pico should be connected to PC with USB mass storage device mode.

A disk volume called RPI-RP2 will appear on your computer. Drag and drop the appropriate .uf2 file to that volume. RPI-RP2 will unmount and Pico will start the program.