-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Start README.md for Pico SDK example
- Loading branch information
1 parent
0b9eae6
commit 8da9efd
Showing
1 changed file
with
32 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |