An open API service indexing awesome lists of open source software.

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)

Awesome Lists containing this project

README

          

# Raspberry Pico RP2040 Robotic Project
***
## Software

## 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
```