Skip to content

P33a/LAB0_3

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Preparing your PC

Software to download

  • Visual Studio Code: VSCode
  • Distributed version control system: Git
  • USB driver installation made easy: Zadig

Installation Sequence

  • Open Regedit

    • Go to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem in regedit and then set LongPathsEnabled to 1.
  • Install Git

    • Open Git CMD
    • Run the command git config --global core.longpaths true
    • Reboot
  • Install VSCode

  • If you are using Linux, before instaling the PlatformIO extension you must install the package python3-venv. If you are using a Debian based distribution:

    sudo apt install python3-venv

  • Open VSCode and click the extensions Icon

    • Search for "PlatformIO"
    • Install PlatformIO
    • VSCode will ask to restart

Compiling the Project

  • In VSCode choose File->Open Folder... and select the folder where the project is.
  • If it is the first time, the next step can take a long time because PlatformIO wil have to download the compiler, the tools and the libraries. It will happen just for the first time if the process completes without errors. When everything is installed the icon with a checkmark in the bottom must be clicked to build the firmware.

Flash for the first time

  • Drag the file named “firmware.uf2”, that is located in the folder “PlatformIO/Projects/<your_prject_name>/.pio/build/pico”, and drop it on the USB Mass Storage device corresponding to the Raspberry Pi Pico.

Install Drivers (Windows)

  • Run Zadig and select RP2 Boot (Interface 1) from the dropdown box and select WinUSB as the driver
  • Click the "Install Driver" button. Wait for the installation to complete - this may take a few minutes.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages