https://github.com/tutla53/rp2040
Create Robotic Project with Raspberry Pico RP2040 + Pico SDK + FreeRTOS + micro-ROS (coming soon)
https://github.com/tutla53/rp2040
c freertos pico-sdk raspberry-pi-pico servo-motor
Last synced: 7 months ago
JSON representation
Create Robotic Project with Raspberry Pico RP2040 + Pico SDK + FreeRTOS + micro-ROS (coming soon)
- Host: GitHub
- URL: https://github.com/tutla53/rp2040
- Owner: tutla53
- Created: 2024-06-07T09:29:35.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-08-09T06:42:18.000Z (about 1 year ago)
- Last Synced: 2025-01-21T17:17:37.166Z (9 months ago)
- Topics: c, freertos, pico-sdk, raspberry-pi-pico, servo-motor
- Language: C
- Homepage:
- Size: 1.26 MB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Raspberry Pico RP2040 Robotic Project
***
## Software
- Raspberry Pi Pico SDK (latest stable release)
- FreeRTOS-LTS (v202210-LTS)
- micro-ROS module for Raspberry Pi Pico SDK (coming soon!)
## Getting Started
1. `git clone` this repository
```bash
git clone https://github.com/tutla53/rp2040.git
```
2. Move to the SDK and FreeRTOS-LTS as a submodule `pico-sdk` and `FreeRTOS-LTS`
3. Initialize and update the submodule
```bash
git submodule update --init
```
| :warning: WARNING |
|:---------------------------|
|Don't recurse git submodules|
4. Setup a `CMakeLists.txt` in the project directory like:
```cmake
cmake_minimum_required(VERSION 3.13)
# initialize pico-sdk from submodule
# note: this must happen before project()
set(PICO_SOURCE ../pico-sdk)
include(${PICO_SOURCE}/pico_sdk_init.cmake)
project(my_project)
# initialize the Raspberry Pi Pico SDK
pico_sdk_init()
# rest of your project
```
5. Go to the project directory, create the build folder, and compile the software:
```bash
cd {project_directory}
mkdir build
cd build
cmake ..
make -j4
```