2021-03-02 05:06:22 +00:00
|
|
|
# pico-stuff
|
|
|
|
I add my Pi Pico (RP2040) stuff here.
|
2021-03-02 05:31:51 +00:00
|
|
|
|
|
|
|
## Header-Only Libraries
|
|
|
|
- BMP180
|
|
|
|
|
|
|
|
## Installation
|
|
|
|
```bash
|
|
|
|
$ git clone --recursive git@github.com:luigifcruz/pico-stuff.git
|
|
|
|
$ cd pico-stuff
|
|
|
|
$ mkdir build
|
|
|
|
$ cd build
|
|
|
|
$ PICO_SDK_PATH=../pico-sdk cmake ..
|
|
|
|
$ make -j$(nproc -n)
|
|
|
|
```
|
|
|
|
|
|
|
|
## Debug
|
2021-03-02 14:11:32 +00:00
|
|
|
For debug add `#define DEBUG` before the `#include` of a header-only library.
|
|
|
|
|
|
|
|
## Usage
|
|
|
|
Q: How can I use these libraries on my project?
|
|
|
|
A: Just copy and paste the header-only library file to your project.
|