Skip to content

schkovich/pico-sdk-tests

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Development Setup Guide

This project uses arduino-pico core for debugging RP2040-based Arduino Pico programs with local modifications.

Prerequisites

Setup Process

  1. Clone those repositories:
git clone https://github.com/schkovich/arduino-pico.git 
cd arduino-pico
git checkout execute_sync_2433
git submodule update --init
cd ..
git clone [email protected]:schkovich/pico-sdk-tests.git
cd pico-sdk-tests

Project Structure


├── arduino-pico # Forked arduino-pico core
├── pico-sdk-tests
│   ├── lib
│   ├── .pio # PlatformIO build directory
│   ├── scripts # Debug scripts
│   └── src

Project configuration

The arduino-pico core is configured in platformio.ini via platform_package option, pointing to the local folder and “Symbolic Link” feature:

[env:debug]
board = nanorp2040connect
framework = arduino
platform = https://github.com/maxgerhardt/platform-raspberrypi.git
board_build.core = earlephilhower
platform_packages =
    framework-arduinopico@symlink://../arduino-pico

Building Core Components

The pico-sdk build process:

  1. Compiles core SDK libraries
  2. Generates boot stage 2 code for different flash chips
  3. Produces required build artifacts for both RP2040 and RP2350

For detailed build steps, see make-libpico.sh in the arduino-pico core.

Development Workflow

  • Pico SDK and async_context are pre-built statically linked to the project
  • The project is built using PlatformIO
  • Debug using CMSIS-DAP probe

About

async_context_execute_sync() test

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published