Skip to content

ILandingI/ESE-519-LAB2-SETUP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 

Repository files navigation

ESE-519-LAB2-SETUP Guide

 Muyuan sheng
Tested on: Legion Y9000 (i7), windows 11    

WSL Setup

Download Ubuntu Microsoft Store.After enter a username and set a password,you'll see.

Screenshot 2022-10-14 210407

Installation of the SDK on RP2040

Now we clone the SDK repositories into the directory that we created.

$ cd ~/    
$ mkdir pico  
$ cd pico  
$ git clone -b master https://github.com/raspberrypi/pico-sdk.git   
$ cd pico-sdk   
$ git submodule update --init   
$ cd ..   
$ git clone -b master https://github.com/raspberrypi/pico-examples.git   

Screenshot 2022-10-14 223556

Also follow the instructions to install toolchains for the SDK:

Screenshot 2022-10-14 232006

Build Examples using SDK

Now we can use the example to test the SDK

cd pico/pico-example
mkdir build
cd build  
cmake ..  
cd hello_world/usb  
make -j4  

After this,by searching "uf2" , we can find a .uf2 file in the directory.Connect the RP2040 in USB mode, you should press the boot button and press reset button. Also copy it to the RP2040.
Screenshot 2022-10-14 234145

Installing Putty

Set the putty.

Screenshot 2022-10-14 234540

Then we can check the "Hello World!"

Screenshot 2022-10-14 225735

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages