Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/stylesuxx/arduino-rpi-pico-platformio-template
Arduino RPI Pico PlatformIO template in order to use BOTH cores
https://github.com/stylesuxx/arduino-rpi-pico-platformio-template
Last synced: about 1 month ago
JSON representation
Arduino RPI Pico PlatformIO template in order to use BOTH cores
- Host: GitHub
- URL: https://github.com/stylesuxx/arduino-rpi-pico-platformio-template
- Owner: stylesuxx
- Created: 2024-07-05T19:43:54.000Z (4 months ago)
- Default Branch: master
- Last Pushed: 2024-07-05T19:50:59.000Z (4 months ago)
- Last Synced: 2024-07-06T01:09:08.021Z (4 months ago)
- Language: C++
- Size: 4.88 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# RPI Pico 2 Core Template
This is a platformIO template meant to be used with an RPI Pico if you want to use both cores. Current mainline raspberrypi platform does not support both cores so some additional configuration is necessary. This all happens in `platformio.ini`.## Usage
1. Make sure you have [Visual Studio Code](https://code.visualstudio.com/) with the [platformio plugin](https://platformio.org/install/ide?install=vscode) installed
2. Fork this repository (or create a new one from [this template](https://docs.github.com/en/repositories/creating-and-managing-repositories/creating-a-repository-from-a-template)), clone your fork locally
3. Open it from within the PlatformIO tab from within Visual Studio Code
4. From the PlatformIO tab chose `pico -> General -> Upload and Monitor`. This will flash the pico and display the serial terminal. You should now see debug prints from core 1 and 2.## Next Steps
Check `./src/main.cpp` - things should be self explanatory from there.## References
* [Multicore Processing on the RPI Pico - a primer](https://arduino-pico.readthedocs.io/en/latest/multicore.html)