{"id":16603334,"url":"https://github.com/dbrgn/pinetime-rtic","last_synced_at":"2025-10-12T16:57:27.346Z","repository":{"id":66130108,"uuid":"236860812","full_name":"dbrgn/pinetime-rtic","owner":"dbrgn","description":"Rust + RTFM on the PineTime!","archived":false,"fork":false,"pushed_at":"2021-08-17T07:36:21.000Z","size":13203,"stargazers_count":72,"open_issues_count":5,"forks_count":10,"subscribers_count":10,"default_branch":"master","last_synced_at":"2025-07-07T17:37:23.914Z","etag":null,"topics":["pinetime","rust"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dbrgn.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE-APACHE","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":"2020-01-28T22:57:01.000Z","updated_at":"2025-06-26T20:29:47.000Z","dependencies_parsed_at":"2023-03-10T23:39:33.212Z","dependency_job_id":null,"html_url":"https://github.com/dbrgn/pinetime-rtic","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dbrgn/pinetime-rtic","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dbrgn%2Fpinetime-rtic","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dbrgn%2Fpinetime-rtic/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dbrgn%2Fpinetime-rtic/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dbrgn%2Fpinetime-rtic/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dbrgn","download_url":"https://codeload.github.com/dbrgn/pinetime-rtic/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dbrgn%2Fpinetime-rtic/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265024028,"owners_count":23699586,"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":["pinetime","rust"],"created_at":"2024-10-12T00:49:29.195Z","updated_at":"2025-10-12T16:57:22.311Z","avatar_url":"https://github.com/dbrgn.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Rust/RTIC on PineTime\n\nTarget MCU: nRF52832 (xxAA)\n\nCurrent status: PoC\n\n![img](demo.gif)\n\nWhat works:\n\n- Bare-metal Rust with [nrf52-hal](https://github.com/nrf-rs/nrf-hal)\n- [RTIC](https://rtic.rs/) for concurrency\n- [embedded-graphics](https://github.com/jamwaffles/embedded-graphics) for drawing onto the LCD\n- Detect button presses\n- Cycle through backlight brightness levels using button\n- Show battery charge status and voltage\n- Send BLE advertisement frames using the pure-Rust\n  [rubble](https://github.com/jonas-schievink/rubble) stack\n\nPlanned:\n\n- A simple watch interface\n- Support for the step counter\n- Better Bluetooth support\n\n\n## Development\n\n### Flashing (cargo-embed)\n\nInstall cargo-embed:\n\n    $ cargo install -f --git https://github.com/probe-rs/cargo-embed/\n\nFlash the target:\n\n    $ cargo embed --release\n\n### Flashing (openocd)\n\nRun OpenOCD:\n\n    $ ./openocd.sh\n\nRun the code\n\n    $ cargo run [--release]\n\n### Flashing (J-Link GDB Server)\n\nRun JLinkGDBServer:\n\n    $ ./jlinkgdbserver.sh\n\nRun the code\n\n    $ cargo run [--release]\n\n\n## License\n\nLicensed under either of\n\n * Apache License, Version 2.0 ([LICENSE-APACHE](LICENSE-APACHE) or\n   http://www.apache.org/licenses/LICENSE-2.0)\n * MIT license ([LICENSE-MIT](LICENSE-MIT) or\n   http://opensource.org/licenses/MIT) at your option.\n\n### Contributing\n\nUnless you explicitly state otherwise, any contribution intentionally submitted\nfor inclusion in the work by you, as defined in the Apache-2.0 license, shall\nbe dual licensed as above, without any additional terms or conditions.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdbrgn%2Fpinetime-rtic","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdbrgn%2Fpinetime-rtic","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdbrgn%2Fpinetime-rtic/lists"}