Browse Source

Merge pull request #68 from japaric/another-thumb

test the thumbv7em-none-eabihf target
Jorge Aparicio 8 years ago
parent
commit
9e50598b70
3 changed files with 12 additions and 1 deletions
  1. 2 0
      .travis.yml
  2. 1 1
      ci/env.sh
  3. 9 0
      thumbv7em-none-eabihf.json

+ 2 - 0
.travis.yml

@@ -34,6 +34,8 @@ matrix:
       os: linux
     - env: TARGET=thumbv7em-none-eabi
       os: linux
+    - env: TARGET=thumbv7em-none-eabihf
+      os: linux
     - env: TARGET=thumbv7m-none-eabi
       os: linux
     - env: TARGET=x86_64-apple-darwin

+ 1 - 1
ci/env.sh

@@ -32,7 +32,7 @@ if [[ $TARGET != $HOST && ! $TARGET =~ ^i.86- ]]; then
             # `int main() { return 0; }`
             RUN_TESTS=n
             ;;
-        thumbv*-none-eabi)
+        thumbv*-none-eabi*)
             CARGO=xargo
             GCC_TRIPLE=arm-none-eabi
             # Bare metal targets. No `std` or `test` crates for these targets.

+ 9 - 0
thumbv7em-none-eabihf.json

@@ -0,0 +1,9 @@
+{
+    "arch": "arm",
+    "data-layout": "e-m:e-p:32:32-i64:64-v128:64:128-a:0:32-n32-S64",
+    "features": "+vfp4",
+    "llvm-target": "thumbv7em-none-eabihf",
+    "os": "none",
+    "target-endian": "little",
+    "target-pointer-width": "32"
+}