Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ekelhala/pico-freertos-template
Template project to get started with developing applications for RP2040-based devices with Pico SDK and FreeRTOS
https://github.com/ekelhala/pico-freertos-template
freertos raspberrypi rp2040 vscode
Last synced: 28 days ago
JSON representation
Template project to get started with developing applications for RP2040-based devices with Pico SDK and FreeRTOS
- Host: GitHub
- URL: https://github.com/ekelhala/pico-freertos-template
- Owner: ekelhala
- License: mit
- Created: 2024-07-08T10:44:24.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2024-09-07T12:58:20.000Z (2 months ago)
- Last Synced: 2024-09-29T00:42:33.260Z (about 1 month ago)
- Topics: freertos, raspberrypi, rp2040, vscode
- Language: CMake
- Homepage:
- Size: 11.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# pico-freertos-template
This template project can be used as a starting point when developing applications for RP2040-based devices (like Raspberry Pi Pico) with Pico SDK and FreeRTOS. The template assumes that the development environment used is Visual Studio Code with some additional extensions and software installed.
## Requirements
Please note that some of the requirements specified can be fulfilled by running the `pico-setup`-script, which is explained [here](https://datasheets.raspberrypi.com/pico/getting-started-with-pico.pdf). It is recommended that you use the script to prepare your environment for development with Pico before using this template.
This list of programs/dependencies is required to start developing and debugging using this template.
- [Pico C/C++ SDK](https://github.com/raspberrypi/pico-sdk)
- Cloned and pointed to by environment variable `PICO_SDK_PATH`
- [FreeRTOS-Kernel](https://github.com/freertos/freertos-kernel)
- Cloned and pointed to by environment variable `FREERTOS_KERNEL_PATH`
- OpenOCD
- Installed and configured properly
- `gdb-multiarch`
- [picotool](https://github.com/raspberrypi/picotool)
- Installed and configured properly
- The required extensions for Visual Studio Code are specified in `.vscode/extensions.json`## Getting started
To use `picotool` for flashing, you must first make the file `scripts/flash.sh` executable with command `sudo chmod +x ./scripts/flash.sh`
To start developing, open the project in VSCode, and when CMake Tools-extension asks to configure the project, select "yes". In the following window, select "Unspecified", and the project configuration should succeed.
To build and flash programs, go to the "Run and Debug"-tab in VSCode and select appropriate configuration.