From 040443880932c29ec82fb7a809ee7ab29e822eba Mon Sep 17 00:00:00 2001 From: Jorge Aparicio Date: Thu, 22 Sep 2016 06:15:05 -0500 Subject: [PATCH] test the thumbv7em-none-eabihf target --- .travis.yml | 2 ++ ci/env.sh | 2 +- thumbv7em-none-eabihf.json | 9 +++++++++ 3 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 thumbv7em-none-eabihf.json diff --git a/.travis.yml b/.travis.yml index 5496bb2..d4a1319 100644 --- a/.travis.yml +++ b/.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 diff --git a/ci/env.sh b/ci/env.sh index feeac22..6275107 100644 --- a/ci/env.sh +++ b/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. diff --git a/thumbv7em-none-eabihf.json b/thumbv7em-none-eabihf.json new file mode 100644 index 0000000..bb0b87e --- /dev/null +++ b/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" +}