{"id":20457356,"url":"https://github.com/connorbp/rusted-teensy-base","last_synced_at":"2026-05-14T23:42:16.004Z","repository":{"id":200462525,"uuid":"181740312","full_name":"ConnorBP/Rusted-Teensy-Base","owner":"ConnorBP","description":"A base project the build projects for the teensy 3.6 Cortex-M4 in Rust.","archived":false,"fork":false,"pushed_at":"2019-04-16T19:22:58.000Z","size":10,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-16T00:01:32.728Z","etag":null,"topics":["assembly","embedded","hardware","iot","rust","rust-lang"],"latest_commit_sha":null,"homepage":null,"language":"Rust","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/ConnorBP.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,"governance":null}},"created_at":"2019-04-16T17:57:47.000Z","updated_at":"2022-04-22T10:58:38.000Z","dependencies_parsed_at":null,"dependency_job_id":"e2b116f8-2d85-430f-b4ab-ea2fc07dbe35","html_url":"https://github.com/ConnorBP/Rusted-Teensy-Base","commit_stats":null,"previous_names":["connorbp/rusted-teensy-base"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ConnorBP%2FRusted-Teensy-Base","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ConnorBP%2FRusted-Teensy-Base/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ConnorBP%2FRusted-Teensy-Base/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ConnorBP%2FRusted-Teensy-Base/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ConnorBP","download_url":"https://codeload.github.com/ConnorBP/Rusted-Teensy-Base/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242013499,"owners_count":20057865,"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":["assembly","embedded","hardware","iot","rust","rust-lang"],"created_at":"2024-11-15T12:06:44.476Z","updated_at":"2026-05-14T23:42:15.931Z","avatar_url":"https://github.com/ConnorBP.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Teensy teensy 3.6 (Cortex M4 MK66FX1M0) rust embeded toolchain template\n\nWhat is this? This is a template for starting an embeded project with Rust on the Teensy3.6 or other Cortex M4 MK66FX1M0 board. It can be re-configured for just about any Cortex M board such as M3 or M7 if you change the memory mapped regions (in layout.ld) from the spec in it's manual datasheet.\n\nThis project is based on a tutorial blog post [here](https://branan.github.io/teensy/2017/01/12/bootup.html), with updated utilities, newers api functions, and memory mapped for the Teensy3.6.\n\nAnother repositiory that looks useful as well: [Cortex-M Quickstart](https://github.com/rust-embedded/cortex-m-quickstart)\n\nSome Spec Sheets:\n\n- [Teeny3.6 MK66FX1M0 Spec](https://www.pjrc.com/teensy/K66P144M180SF5RMV2.pdf)\n- [Teensy3.2 MK20DX256 Spec](https://www.pjrc.com/teensy/K20P64M72SF1RM.pdf)\n- [List of different teensy board specs](https://www.pjrc.com/teensy/techspecs.html)\n\nAlso `thumbv7em-none-eabihf` in .cargo/config should be `thumbv7em-none-eabi` if your device does not have a floating point unit (FPU) on cortex M4 or M7, `thumbv6m-none-eabi` for Cortex-M0 or M0+, and `thumbv7m-none-eabi` for Cortex-M3.\n\n## Setting up Build Environment\n\nIntall the nightly last shown as stable for `rls` and `clippy` on [rust-toolstate](https://rust-lang-nursery.github.io/rust-toolstate/)\n\n**Note:**\n\n- Make sure to replace the `2018-04-15` date below with the latest stable version you found above\n- Also replace `2018-04-15` in the `rust-toolchain` file\n- Make sure to replace `thumbv7em-none-eabihf` with the aplicable embeded toolchain for your device\n\n*Install toolchain:*\n\n```shell\n$ rustup toolchain install nightly-2018-04-15\n$ rustup component add --target thumbv7em-none-eabihf rust-std --toolchain=nightly-2018-04-15\n```\n\n*then install binutils*\n\non Linux (with pacman utils):\n\n```shell\n$ sudo pacman -S arm-none-eabi-binutils\n```\n\non Mac (with Homebrew):\n[osx-cross/homebrew-arm](https://github.com/osx-cross/homebrew-arm)\n\n```shell\n# to tap the repository\n$ brew tap osx-cross/arm\n# to install the toolchain\n$ brew install arm-gcc-bin\n```\n\n***Finally,*** *get the teensy loader [here](https://www.pjrc.com/teensy/loader_cli.html)* and add it somewhere in your path.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fconnorbp%2Frusted-teensy-base","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fconnorbp%2Frusted-teensy-base","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fconnorbp%2Frusted-teensy-base/lists"}