Skip to content

gwagner/zig-pico-sdk

Repository files navigation

Zig Import Pico SDK

This project is by no means mature, just goofing around trying to see if I can get Zig and the Pico-SDK to play well together.

Setup

  1. Create a deps/ folder
  2. Clone [email protected]:raspberrypi/pico-sdk.git into deps/pico-sdk/
  3. Checkout version 2.2.0 in deps/pico-sdk/
  4. Clone [email protected]:hathach/tinyusb.git into deps/tinyusb/

Build

Start by running ./openocd from the root of the dir. As long as your Pico is plugged in, this should start an openocd session.

Next, run ./build, this should build and open up GDB with a debug session to load and run your program.

I still need to do work for the external dependencies.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages