Skip to content

Commit 73a9d29

Browse files
Rust assembly stubs
1 parent 13e04bd commit 73a9d29

31 files changed

+552
-492
lines changed

.cargo/config

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[alias]
2+
xtask = "run --package xtask --bin xtask --"

.travis.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,6 @@ before_install: set -e
7272

7373
install:
7474
- bash ci/install.sh
75-
- export PATH="$PATH:$PWD/gcc/bin"
7675

7776
script:
7877
- bash ci/script.sh

Cargo.toml

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,19 @@ volatile-register = "0.2.0"
2121
bitfield = "0.13.2"
2222
embedded-hal = "0.2.4"
2323

24+
[features]
25+
cm7-r0p1 = []
26+
inline-asm = []
27+
28+
# Link against prebuilt assembly blobs that are compatible with Linker-Plugin LTO.
29+
# When using this feature, you *must* pass `-Clinker-plugin-lto` to rustc. See this link for
30+
# details:
31+
# https://doc.rust-lang.org/stable/rustc/linker-plugin-lto.html
32+
linker-plugin-lto = []
33+
34+
[workspace]
35+
members = ["xtask"]
36+
2437
[package.metadata.docs.rs]
2538
targets = [
2639
"thumbv8m.main-none-eabihf",
@@ -31,7 +44,3 @@ targets = [
3144
"thumbv8m.base-none-eabi",
3245
"thumbv8m.main-none-eabi"
3346
]
34-
35-
[features]
36-
cm7-r0p1 = []
37-
inline-asm = []

asm-cm7-r0p1.s

Lines changed: 0 additions & 35 deletions
This file was deleted.

asm-fpu.s

Lines changed: 0 additions & 21 deletions
This file was deleted.

asm-v7.s

Lines changed: 0 additions & 78 deletions
This file was deleted.

asm-v8-main.s

Lines changed: 0 additions & 43 deletions
This file was deleted.

asm-v8.s

Lines changed: 0 additions & 42 deletions
This file was deleted.

0 commit comments

Comments
 (0)