{"id":29908030,"url":"https://github.com/9elements/christmas-card","last_synced_at":"2025-08-01T23:17:57.151Z","repository":{"id":275011964,"uuid":"890313819","full_name":"9elements/christmas-card","owner":"9elements","description":null,"archived":false,"fork":false,"pushed_at":"2024-12-18T14:30:50.000Z","size":18,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-07-29T10:27:56.399Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/9elements.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-11-18T11:08:38.000Z","updated_at":"2025-01-24T13:26:24.000Z","dependencies_parsed_at":"2025-01-30T17:54:08.192Z","dependency_job_id":"a10acce1-87cf-4c67-9f95-c782ccb0c604","html_url":"https://github.com/9elements/christmas-card","commit_stats":null,"previous_names":["9elements/christmas-card"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/9elements/christmas-card","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/9elements%2Fchristmas-card","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/9elements%2Fchristmas-card/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/9elements%2Fchristmas-card/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/9elements%2Fchristmas-card/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/9elements","download_url":"https://codeload.github.com/9elements/christmas-card/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/9elements%2Fchristmas-card/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268310875,"owners_count":24230199,"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","status":"online","status_checked_at":"2025-08-01T02:00:08.611Z","response_time":67,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":[],"created_at":"2025-08-01T23:17:49.867Z","updated_at":"2025-08-01T23:17:57.105Z","avatar_url":"https://github.com/9elements.png","language":"Rust","readme":"\n# Building and Flashing the Project on a Raspberry Pi Pico\n\nThis guide will walk you through the steps to build and flash the project onto a Raspberry Pi Pico using Rust and Cargo.\n\n## Prerequisites\n\nBefore you begin, ensure you have the following installed on your system:\n\n1. **Rust and Cargo**: Rust is a systems programming language, and Cargo is its package manager and build system. You can install Rust and Cargo by following the instructions at [rust-lang.org](https://www.rust-lang.org/tools/install).\n\n2. **Additional Tools**: You will need some additional tools to build and flash the project:\n   - `elf2uf2-rs`: A tool to convert ELF files to UF2 format for flashing onto the Raspberry Pi Pico.\n   - Optionally `probe-rs`: A tool for on-chip debugging, flashing, and more, specifically designed for embedded systems.\n\n## Setting Up the Environment\n\n1. **Install Rust and Cargo**:\n\n   ```bash\n   curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh\n   source $HOME/.cargo/env\n   ```\n\n2. **Install Additional Tools**:\n\n   ```bash\n   cargo install elf2uf2-rs\n   cargo install probe-rs\n   ```\n\n## Building the Project\n\nTo build the project for the Raspberry Pi Pico, use the following command:\n\n```bash\ncargo run --release\n```\n\nAfter building the project, the resulting binary will be output in the `target/thumbv6m-none-eabi/release` directory. The binary will be in the UF2 format, which is suitable for flashing onto the Raspberry Pi Pico.\n\n## Flashing the UF2 Binary\n\nTo flash the UF2 binary onto the Raspberry Pi Pico, follow these steps:\n\n1. **Prepare the Raspberry Pi Pico**:\n   - Hold down the BOOTSEL button on the Raspberry Pi Pico.\n   - While holding the button, connect the Pico to your computer using a USB cable. This will bring the Pico into mass storage mode, and it should appear as a removable drive on your computer.\n\n2. **Copy the UF2 File**:\n   - Navigate to the `target/thumbv6m-none-eabi/release` directory.\n   - Drag and drop the generated `.uf2` file onto the Raspberry Pi Pico's removable drive.\n\n3. **Complete the Flashing Process**:\n   - Once the file is copied, the Raspberry Pi Pico will automatically reboot and start running the new firmware.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F9elements%2Fchristmas-card","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F9elements%2Fchristmas-card","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F9elements%2Fchristmas-card/lists"}