{"id":13423298,"url":"https://github.com/mciantyre/teensy4-rs","last_synced_at":"2025-10-04T00:36:01.869Z","repository":{"id":36206013,"uuid":"222280295","full_name":"mciantyre/teensy4-rs","owner":"mciantyre","description":"Rust support for the Teensy 4","archived":false,"fork":false,"pushed_at":"2025-07-31T12:07:10.000Z","size":10181,"stargazers_count":345,"open_issues_count":5,"forks_count":37,"subscribers_count":10,"default_branch":"master","last_synced_at":"2025-10-02T11:46:55.701Z","etag":null,"topics":["rust","rust-embedded"],"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/mciantyre.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","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,"zenodo":null}},"created_at":"2019-11-17T16:48:41.000Z","updated_at":"2025-09-26T06:10:22.000Z","dependencies_parsed_at":"2023-11-11T13:31:08.011Z","dependency_job_id":"994fe09c-5a37-450c-930b-09b4f31c0aa0","html_url":"https://github.com/mciantyre/teensy4-rs","commit_stats":{"total_commits":505,"total_committers":13,"mean_commits":38.84615384615385,"dds":"0.10099009900990097","last_synced_commit":"e798951811d3bc3fe490a2365dfd1c04fb891903"},"previous_names":[],"tags_count":31,"template":false,"template_full_name":null,"purl":"pkg:github/mciantyre/teensy4-rs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mciantyre%2Fteensy4-rs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mciantyre%2Fteensy4-rs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mciantyre%2Fteensy4-rs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mciantyre%2Fteensy4-rs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mciantyre","download_url":"https://codeload.github.com/mciantyre/teensy4-rs/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mciantyre%2Fteensy4-rs/sbom","scorecard":{"id":632080,"data":{"date":"2025-08-11","repo":{"name":"github.com/mciantyre/teensy4-rs","commit":"0d6b3de487fe6d9ee62f0d53b19667f244bb1969"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.7,"checks":[{"name":"Code-Review","score":2,"reason":"Found 7/25 approved changesets -- score normalized to 2","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Maintained","score":1,"reason":"2 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 1","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/build.yml:1","Warn: no topLevel permission defined: .github/workflows/doc.yml:1","Warn: no topLevel permission defined: .github/workflows/template.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE-APACHE:0","Info: FSF or OSI recognized license: Apache License 2.0: LICENSE-APACHE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build.yml:57: update your workflow using https://app.stepsecurity.io/secureworkflow/mciantyre/teensy4-rs/build.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build.yml:70: update your workflow using https://app.stepsecurity.io/secureworkflow/mciantyre/teensy4-rs/build.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build.yml:14: update your workflow using https://app.stepsecurity.io/secureworkflow/mciantyre/teensy4-rs/build.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build.yml:26: update your workflow using https://app.stepsecurity.io/secureworkflow/mciantyre/teensy4-rs/build.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build.yml:38: update your workflow using https://app.stepsecurity.io/secureworkflow/mciantyre/teensy4-rs/build.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/doc.yml:12: update your workflow using https://app.stepsecurity.io/secureworkflow/mciantyre/teensy4-rs/doc.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/doc.yml:37: update your workflow using https://app.stepsecurity.io/secureworkflow/mciantyre/teensy4-rs/doc.yml/master?enable=pin","Warn: containerImage not pinned by hash: docker/Dockerfile:4: pin your Docker image by updating rust to rust@sha256:e090f7b4adf86191313dba91260351d7f5e15cac0fe34f26706a805c0cb9641f","Info:   0 out of   6 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   1 third-party GitHubAction dependencies pinned","Info:   0 out of   1 containerImage dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 15 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-21T08:13:29.169Z","repository_id":36206013,"created_at":"2025-08-21T08:13:29.169Z","updated_at":"2025-08-21T08:13:29.169Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278084352,"owners_count":25927171,"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-10-02T02:00:08.890Z","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":["rust","rust-embedded"],"created_at":"2024-07-31T00:00:28.792Z","updated_at":"2025-10-04T00:36:01.823Z","avatar_url":"https://github.com/mciantyre.png","language":"Rust","funding_links":[],"categories":["Board support crates","C"],"sub_categories":["Teensy"],"readme":"# teensy4-rs\n\nA collection of crates for Rust development on the Teensy 4. Supports\nthe following boards:\n\n-   Teensy 4.0\n-   Teensy 4.1\n-   Teensy MicroMod\n\n[![Code Checks][]][1] [![crates.io][]][2] [![docs.rs]][3]\n\n  [Code Checks]: https://github.com/mciantyre/teensy4-rs/workflows/Code%20Checks/badge.svg\n  [1]: https://github.com/mciantyre/teensy4-rs/actions?query=workflow%3A%22Code+Checks%22\n  [crates.io]: https://img.shields.io/crates/v/teensy4-bsp\n  [2]: https://crates.io/crates/teensy4-bsp\n  [docs.rs]: https://docs.rs/teensy4-bsp/badge.svg\n  [3]: https://docs.rs/teensy4-bsp/\n\n#### [API Docs (`master`)]\n\n  [API Docs (`master`)]: https://mciantyre.github.io/teensy4-rs/\n\n## Dependencies\n\n-   A Rust installation. Install Rust using `rustup`. We support the\n    latest, stable Rust toolchain.\n\n-   The `thumbv7em-none-eabihf` Rust target, which may be installed\n    using `rustup`:\n\n        rustup target add thumbv7em-none-eabihf\n\n-   A capable `objcopy` for transforming Rust binaries into hex files.\n    The documentation and tooling in the project uses the LLVM `objcopy`\n    provided by [`cargo-binutils`]. Install [`cargo-binutils`] if you\n    want to precisely follow this documentation.\n\n-   To download programs to your Teensy 4, you'll need either a build of\n    [`teensy_loader_cli`], or the [Teensy Loader Application]. The\n    latter is available with the Teensyduino add-ons.\n\n  [`cargo-binutils`]: https://github.com/rust-embedded/cargo-binutils\n  [`teensy_loader_cli`]: https://github.com/PaulStoffregen/teensy_loader_cli\n  [Teensy Loader Application]: https://www.pjrc.com/teensy/loader.html\n\n## Getting started\n\nUse our `cargo-generate` template, [`teensy4-rs-template`], to bootstrap\nyour own `teensy4-rs` project based on these libraries:\n\n    cargo install cargo-generate\n    cargo generate --git https://github.com/mciantyre/teensy4-rs-template --name hello-world\n    cd hello-world\n    cargo objcopy --release -- -O ihex hello-world.hex\n\nDownload `hello-world.hex` to your Teensy 4!\n\nSee the Rust documentation for API information. In particular, study the\n[`imxrt-hal` APIs], since the BSP forwards many of the HAL's interfaces:\n\n    cargo doc --open\n\nTry the various examples in this project's [`examples` directory] if\nyou'd like to test your system.\n\n  [`teensy4-rs-template`]: https://github.com/mciantyre/teensy4-rs-template\n  [`imxrt-hal` APIs]: https://docs.rs/imxrt-hal/latest/imxrt_hal/\n  [`examples` directory]: examples/README.md\n\n## Contributing\n\nWe welcome support! A great way to contribute is to start using the\ncrates to develop Teensy 4 applications. Submit an issue to help us\nidentify bugs, feature requests, or documentation gaps. See\n[CONTRIBUTING.md] to learn about the best issue tracker for your\nrequest.\n\nIf you want to directly contribute to the `teensy4-rs` project, read the\ndevelopment guidance in [CONTRIBUTING.md].\n\n  [CONTRIBUTING.md]: CONTRIBUTING.md\n\n## Acknowledgements and References\n\n-   The [Teensy 4] is wonderful, and that's thanks to the hard work of\n    PJRC and friends. We can find the Teensy code used in the Arduino\n    plugins [here]. The code greatly influenced this library.\n-   The Rust Cortex M team, specifically the [`cortex-m-rt`] crate.\n\n  [Teensy 4]: https://www.pjrc.com/store/teensy40.html\n  [here]: https://github.com/PaulStoffregen/cores\n  [`cortex-m-rt`]: https://github.com/rust-embedded/cortex-m-rt\n\n## License\n\nLicensed under either of\n\n-   Apache License, Version 2.0 ([LICENSE-APACHE] or\n    http://www.apache.org/licenses/LICENSE-2.0)\n-   MIT license ([LICENSE-MIT] or http://opensource.org/licenses/MIT)\n\nat your option.\n\n  [LICENSE-APACHE]: LICENSE-APACHE\n  [LICENSE-MIT]: LICENSE-MIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmciantyre%2Fteensy4-rs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmciantyre%2Fteensy4-rs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmciantyre%2Fteensy4-rs/lists"}