GithubHelp home page GithubHelp logo

neuroradiology / teensy3-rs Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jamesmunns/teensy3-rs

0.0 3.0 0.0 404 KB

Rust on the Teensy3

C++ 22.27% Rust 7.88% Makefile 0.15% C 69.22% Assembly 0.47%

teensy3-rs's Introduction

Rust on Teensy3

  • teensy3: Crates.io
  • teensy3-sys: Crates.io

Documentation

This is a repo for development on the Teensy3 in Rust. This repo is bootstrapped with Teensyduino bindings, generated by servo's branch of bindgen.

Getting Started

This crate is meant to be consumed by a binary for a PJRC Teensy 3.1 or 3.2. Support for Teensy 3.0, 3.5, and 3.6 boards is planned, but not implemented.

To use this crate, please see this demo repo which can be used as a template for your project.

Package layout

  • teensy3-sys - This crate contains the C/C++ code and the Rust bindings against them. All items are generally unsafe, and not idiomatic rust.
  • teensy3 - This crate contains any ergonomic wrappers around teensy3-sys components, as well as any pure rust reimplementations of other components. teensy3-sys is re-exported as teensy3::bindings.

Dependencies

  • A somewhat current Nightly Build of Rust (currently tested on rustc 1.13.0-nightly (4f9812a59 2016-09-21))
  • Japaric's Xargo Tool - used to cross compile libcore
  • A somewhat current arm-none-eabi-gcc toolchain.
    • 4.9.3 seems to work with a slight linkerfile hack
    • 6.x.x seems to work without hacks.

Thanks, Citiations

This code is nearly entirely thanks to these resources:

License

Rust contributions are licensed under the MIT License.

Please Note: ASM, C, C++, and Linker Components of the teensy3-sys crate (a dependency of the teensy3 crate) contain components licensed under the MIT License, PJRC's modified MIT License, and the LGPL v2.1. Please refer to individual components for more details.

teensy3-rs's People

Contributors

jamesmunns avatar simonsapin avatar wrl avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.