1. 03 10月, 2016 3 次提交
    • J
      set relocation-model to static · 396b757f
      Jorge Aparicio 提交于
      396b757f
    • J
      rustc -> $(RUSTC) in rmake test · e4c3263e
      Jorge Aparicio 提交于
      e4c3263e
    • J
      add Thumbs to the compiler · 901c5f2a
      Jorge Aparicio 提交于
      this commit adds 4 new target definitions to the compiler for easier
      cross compilation to ARM Cortex-M devices.
      
      - `thumbv6m-none-eabi`
        - For the Cortex-M0, Cortex-M0+ and Cortex-M1
        - This architecture doesn't have hardware support (instructions) for
          atomics. Hence, the `Atomic*` structs are not available for this
          target.
      - `thumbv7m-none-eabi`
        - For the Cortex-M3
      - `thumbv7em-none-eabi`
        - For the FPU-less variants of the Cortex-M4 and Cortex-M7
        - On this target, all the floating point operations will be lowered
          software routines (intrinsics)
      - `thumbv7em-none-eabihf`
        - For the variants of the Cortex-M4 and Cortex-M7 that do have a FPU.
        - On this target, all the floating point operations will be lowered
          to hardware instructions
      
      No binary releases of standard crates, like `core`, are planned for
      these targets because Cargo, in the future, will compile e.g. the `core`
      crate on the fly as part of the `cargo build` process. In the meantime,
      you'll have to compile the `core` crate yourself. [Xargo] is the easiest
      way to do that as in handles the compilation of `core` automatically and
      can be used just like Cargo: `xargo build --target thumbv6m-none-eabi`
      is all that's needed.
      
      [Xargo]: https://crates.io/crates/xargo
      901c5f2a
  2. 02 10月, 2016 6 次提交
  3. 01 10月, 2016 31 次提交