Skip to content

Commit

Permalink
Start README.md for Pico SDK example
Browse files Browse the repository at this point in the history
  • Loading branch information
PhilboBaggins committed Mar 7, 2023
1 parent 0b9eae6 commit 8da9efd
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions ExampleCode/C with Pico SDK/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# PicoKeys example using RPi Pico C SDK

TODO: Add description .... what is this for... where will it be used

## Building

### Building on Linux

PICO_SDK_PATH="path/to/pico-sdk"
mkdir build
cd build
#cmake -DCMAKE_BUILD_TYPE=Debug ..
cmake ..
make

### Building on Windows with NMake

set PICO_SDK_PATH="C:/path/to/pico-sdk"
mkdir build
cd build
#cmake -DCMAKE_BUILD_TYPE=Debug -G "NMake Makefiles" ..
cmake -G "NMake Makefiles" ..
nmake

### Building on Windows with MinGW

set PICO_SDK_PATH="C:/path/to/pico-sdk"
mkdir build
cd build
#cmake -DCMAKE_BUILD_TYPE=Debug -G "MinGW Makefiles" ..
cmake -G "MinGW Makefiles" ..
mingw32-make

0 comments on commit 8da9efd

Please sign in to comment.