{"id":15530069,"url":"https://github.com/modmuss50/pico-template","last_synced_at":"2025-04-23T12:58:08.690Z","repository":{"id":44653981,"uuid":"332033292","full_name":"modmuss50/pico-template","owner":"modmuss50","description":"A simple ready to go template project for building C/C++ software for the Raspberry Pi Pico","archived":false,"fork":false,"pushed_at":"2022-07-01T16:23:04.000Z","size":5,"stargazers_count":26,"open_issues_count":0,"forks_count":5,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-23T12:58:00.196Z","etag":null,"topics":["cmake","cpp","example","ninja","raspberry-pi","rp2040","template"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/modmuss50.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-01-22T18:42:35.000Z","updated_at":"2024-11-28T08:54:15.000Z","dependencies_parsed_at":"2022-09-07T06:00:50.475Z","dependency_job_id":null,"html_url":"https://github.com/modmuss50/pico-template","commit_stats":null,"previous_names":[],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/modmuss50%2Fpico-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/modmuss50%2Fpico-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/modmuss50%2Fpico-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/modmuss50%2Fpico-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/modmuss50","download_url":"https://codeload.github.com/modmuss50/pico-template/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250439281,"owners_count":21430822,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cmake","cpp","example","ninja","raspberry-pi","rp2040","template"],"created_at":"2024-10-02T11:21:01.020Z","updated_at":"2025-04-23T12:58:08.640Z","avatar_url":"https://github.com/modmuss50.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Pico Template\n\nA simple C/C++ template for the Raspberry Pi pico using cmake.\n\n[CLion](https://www.jetbrains.com/clion/) works great as an IDE.\n\nWas made with help from the [Getting Started guide](https://datasheets.raspberrypi.org/pico/getting_started_with_pico.pdf)\n\n# Requirements\n### MacOS\n\n```bash\nbrew tap ArmMbed/homebrew-formulae\nbrew install arm-none-eabi-gcc cmake ninja\n```\n\n### Debian/Ubuntu\n\n```bash\nsudo apt update\nsudo apt install cmake gcc-arm-none-eabi libnewlib-arm-none-eabi build-essential ninja-build\n```\n\n### Windows\n\n[Windows Subsystem for Linux (WSL)](https://docs.microsoft.com/en-us/windows/wsl/install) can be used to run Ubuntu.\n\n# Setup\n\nUpdates the [pico-sdk](https://github.com/raspberrypi/pico-sdk) sub-module, this may take a few minutes as its quite large.\n\n```bash\ngit submodule update --init --recursive\n```\n\n# Build\n\nCreates a new `build` directory and uses [ninja](https://ninja-build.org/) to build the .uf2 file.\n\n```bash\nmkdir build\ncd build\ncmake -G Ninja ..\nninja\n```\n\nCopy the .uf2 file from the `build` directory onto the pico to run\n\n# Serial console (MacOS)\n\n```bash\nls /dev/tty.*\nscreen /dev/tty.usbmodem0000000000001\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmodmuss50%2Fpico-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmodmuss50%2Fpico-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmodmuss50%2Fpico-template/lists"}