https://github.com/wdevore/pico-projects
Various RaspberryPi Pico projects
https://github.com/wdevore/pico-projects
raspberry-pi-pico
Last synced: 10 months ago
JSON representation
Various RaspberryPi Pico projects
- Host: GitHub
- URL: https://github.com/wdevore/pico-projects
- Owner: wdevore
- License: mit
- Created: 2022-08-18T23:48:55.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2022-11-11T18:11:13.000Z (over 3 years ago)
- Last Synced: 2025-03-28T16:36:06.906Z (about 1 year ago)
- Topics: raspberry-pi-pico
- Language: C
- Homepage:
- Size: 4.11 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# pico-projects
Various RaspberryPi Pico projects
# Notes:
- Cmake docs: https://cmake.org/cmake/help/v3.13/command/project.html?highlight=project
## Creating a new project and configuring.
First time setup on first folder under root project.
- If you haven't already, create a *build* directory under the root *pico-projects*.
- Copy pico_sdk_import.cmake from pico-sdk/external into it
Then
- Create a new project folder under *pico-projects*.
- cd into new folder.
- Create CMakeLists.txt
- Create your main *.c* file and update CMakeLists.txt
- **important** In VSCode, right-click on *CMakeLists.txt* file and *Configure All Projects*. This will configure things such as intellisence and such.
OR
# 8.3. Automating project creation
The pico project generator, automatically creates a "stub" project with all the necessary files to allow it to build. If you
want to make use of this you’ll need to go ahead and clone the project creation script from its Git repository,
```
$ git clone https://github.com/raspberrypi/pico-project-generator.git
```
It can then be run in graphical mode,
```
$ cd pico-project-generator
$ ./pico_project.py --gui
```
which will bring up a GUI interface allowing you to configure your project
# Building for Picoprobe
- $ cd /media/iposthuman/Nihongo/Hardware/PicoRP2040/test/build/
- (*first time on a change*) cmake ..
- $ make -j4
- $ sudo openocd -f interface/picoprobe.cfg -f target/rp2040.cfg -c "program test.elf verify reset exit"
# Terminal (Minicom)
## Picoprobe
``` $ minicom -b 115200 -o -D /dev/ttyACM0 ```
## Standalone
``` $ minicom -b 115200 -o -D /dev/ttyUSB0 ```
or using a configuration file from /etc/minicom
``` $ minicom -b 115200 -o -D /dev/ttyUSB0 pico_io ```
where *pico_io* is a minicom configuration file.