Add sample C project

This commit is contained in:
lukstep
2022-09-17 08:52:28 +02:00
parent 47521b84ab
commit 8d119ccf2e
3 changed files with 60 additions and 1 deletions

View File

@@ -1,4 +1,4 @@
# Raspberry Pi Pico Docker
# Raspberry Pi Pico Docker SDK
## Run Docker container
@@ -9,3 +9,17 @@ docker run -d -it --name pico-sdk --mount type=bind,source=${PWD},target=/home/d
docker exec -it pico-sdk /bin/sh
```
## Project build
After attaching to SDK container run the following command to build the project:
```
cd /home/dev
mkdir build
cd build
cmake .. && make -j4
```