Git Product home page Git Product logo

miosix-oxidation's Introduction

Miosix-oxidation

Welcome to miosix-oxidation! Rust experimental miosix support

Status

Many feature are currently being worked on, here is a list showing what you can/cannot use:

feature status
core working
std::time working
std::alloc working
std::fs working (mostly)
std::io working
panic! stops and does nothing
main() no way
miosix bindings not yet
everything else doesn't work

The rule of thumb is: if it shouldn't work on miosix, then it doesn't (even if the compiler says otherwise).

Also the currenlty supported targets:

  • thumbv7em-miosix-eabihf

Usage

To compile this test you will need to have a special version of rustc installed that supports miosix as a target.

  1. Check rust for building requirements

  2. Clone the source with git

    git clone https://github.com/Tazdevil971/rust.git
    cd rust
  3. Copy the build configuration

    cp config.toml.example config.toml
  4. Build

    ./x.py build library/std
  5. Load the new toolchain

    rustup toolchain link miosix build/<target>/stage1

    Where <target> is you host machine target

  6. Select the new toolchain as the default one

    rustup default miosix
  7. Go and experiment with the new compiler!

Structure

Here is a quick overview of the project components:

  • rust: Contains a patched version of the rust compiler with support for miosix targets
  • libc: Fork of libc containing definitions for miosix libc types
  • cc-rs: Fork of cc-rs containing support for miosix targets and miosix toolchain

miosix-oxidation's People

Contributors

tazdevil971 avatar

Stargazers

angelozangari avatar Alberto Nidasio avatar

Watchers

Alberto Nidasio 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.