Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gemarcano/gpico
An opinionated collection of utilities for Raspberry Pi Pico development.
https://github.com/gemarcano/gpico
Last synced: about 1 month ago
JSON representation
An opinionated collection of utilities for Raspberry Pi Pico development.
- Host: GitHub
- URL: https://github.com/gemarcano/gpico
- Owner: gemarcano
- License: other
- Created: 2024-03-16T17:52:25.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2024-03-31T07:48:31.000Z (9 months ago)
- Last Synced: 2024-03-31T08:34:36.320Z (9 months ago)
- Language: C++
- Homepage:
- Size: 41 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# gpico, an opinionated collection of utilities for Raspberry Pi Pico development.
## Using the library
Copy the `gpico_import.cmake` file into your project, include it, and then
define `GPICO_PATH` when configuring CMAKE to the location of this repository.This uses [FreeRTOS-Kernel](https://github.com/FreeRTOS/FreeRTOS-Kernel.git)
and the [pico-sdk](https://github.com/raspberrypi/pico-sdk.git).pico-sdk needs some patches provided by these PRs:
- [pico-sdk #1530](https://github.com/raspberrypi/pico-sdk/pull/1530)
- [pico-sdk #1635](https://github.com/raspberrypi/pico-sdk/pull/1635)And the tinyusb library in the pico-sdk (lib/tinyusb) needs this patch as well:
- [tinyusb #2474](https://github.com/hathach/tinyusb/pull/2474)After applying the patches, the build process is similar to a normal pico-sdk
application```
mkdir build
cd build
cmake ../ -DPICO_SDK_PATH=[path-to-pico-sdk] \
-DPICO_BOARD=pico_w -DCMAKE_BUILD_TYPE=[Debug|Release|RelWithDebInfo] \
-DFREERTOS_KERNEL_PATH=[path-to-FreeRTOS-Kernel] \
-DGPICO_PATH=[path-to-gpico] \
-GNinja ninja
```