democloid / picoTracker

BSD 3-Clause "New" or "Revised" License
187 stars 17 forks source link

add dev container config #174

Closed maks closed 3 months ago

maks commented 3 months ago

This makes it easy for someone who is already using devcontainers or who installs a tool that makes them easy to use (eg. VSCode) to get the required tools using the prebuilt docker container (https://github.com/maks/rp2040-devcontainer) I have made, but at the cost of approx 3.8 GB container image. This is especially true for anyone not already using a Ubuntu or Debian based Linux OS, where the instructions from the Pico SDK docs wouldn't work.

For now its only the gcc arm compiler, cmake and other prerequites specified by the Pico C SDK docs but I plan to also add OpenOCD to the image as well. Also I plan to look at making the image much smaller in the future by switching to slimmer version of a base OS image.