Skip to content
This repository has been archived by the owner on Aug 22, 2024. It is now read-only.

A basic template for RP2040 based boards using PICO-SDK.

License

Notifications You must be signed in to change notification settings

DatanoiseTV/RP2040-Base-Template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RP2040 Base Template

This is a basic project template using the Pico SDK for project based on the RP2040 Cortex M0+ microcontroller from Raspberry Pi.

Project structure

  • The C/C++ sources are located in the srcfolder
  • PIO sources are located in the piosrc folder and all files ending with *.pio will be automatically compiled
  • The includes are in include
  • Libraries and hardware drivers go into the lib folder and follow the same src/piosrc/include scheme

Project settings

The project settings, definitions of pins, FreeRTOS settings (wether to use or not) can be set in ìnclude/project_config.h. There are some extra settings for FreeRTOS in the FreeRTOSConfig.h, but I wouldn't recommend touching them unless you know what you are doing.

Building

In order to build the *.uf2 file, which then can be transferred to the RP2040 by copying it to the virtual disk:

mkdir build
cd build
cmake ..

The file will be called main.uf2.

About

A basic template for RP2040 based boards using PICO-SDK.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published