Repository with projects written for RPi pico in Pico C/C++ sdk.
.devcointainer/
: Folder with dev container source files (docker files)
- Docker
- Git
- Visual Studio Code
- Dev Containers extension
-
Clone this repository:
git clone https://github.com/sps-prosek/Px-PRG-4EA.git
-
Open the repository folder in VS code.
-
Reopen the repository folder inside of dev container. VS code will ask you or you can open command pallet (ctrl + shift + P) and find command
Dev Containers: Reopen in container
.
-
Open terminal.
-
Navigate to project folder that you want to build:
cd <FOLDER NAME>
-
Create a build directory and navigate into it:
mkdir build cd build
-
Configure the project with CMake:
cmake ..
-
Build the project:
make
- Connect the RP2040 board to your computer.
- Press and hold the BOOTSEL button while plugging the board into USB.
- Copy the generated
.uf2
file from thebuild
directory to the RP2040 USB mass storage device.