Muyuan sheng
Tested on: Legion Y9000 (i7), windows 11
Download Ubuntu Microsoft Store.After enter a username and set a password,you'll see.
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
Also follow the instructions to install toolchains for the 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.
Set the putty.
Then we can check the "Hello World!"