Содержание

✘ Установка Pi Pico SDK (WSL2)

Начало работы

Документация в формате PDF

  1. export PICO_SDK_ROOT=/mnt/c/Dev/WSL/RP2040
    echo $PICO_SDK_ROOT
    cd $PICO_SDK_ROOT
    wget -q https://cdn-learn.adafruit.com/assets/assets/000/099/419/original/flash_nuke.uf2
  2. git clone --recurse-submodules https://github.com/raspberrypi/pico-sdk $PICO_SDK_ROOT/pico-sdk
    git clone --recurse-submodules https://github.com/raspberrypi/pico-examples $PICO_SDK_ROOT/pico-examples
    git clone --recurse-submodules https://github.com/raspberrypi/pico-extras $PICO_SDK_ROOT/pico-extras
    git clone --recurse-submodules https://github.com/raspberrypi/pico-playground $PICO_SDK_ROOT/pico-playground
  3. echo export PICO_SDK_PATH=$PICO_SDK_ROOT/pico-sdk >> ~/.bashrc
    echo export PICO_EXAMPLES_PATH=$PICO_SDK_ROOT/pico-examples >> ~/.bashrc
    echo export PICO_EXTRAS_PATH=$PICO_SDK_ROOT/pico-extras >> ~/.bashrc
    echo export PICO_PLAYGROUND_PATH=$PICO_SDK_ROOT/pico-playground >> ~/.bashrc
  4. sudo apt install cmake gcc-arm-none-eabi libnewlib-arm-none-eabi build-essential -y
    reboot

Использование SDK

Документация в формате PDF

Обновление SDK