cargo-config: cm7 features

master
Robert Jördens 2020-11-25 17:33:16 +01:00
parent d9e4f6a052
commit 4c9c65bf2d
1 changed files with 5 additions and 1 deletions

View File

@ -1,6 +1,10 @@
[target.'cfg(all(target_arch = "arm", target_os = "none"))']
runner = "gdb-multiarch -q -x openocd.gdb"
rustflags = ["-C", "link-arg=-Tlink.x"]
rustflags = [
"-C", "link-arg=-Tlink.x",
"-C", "target-cpu=cortex-m7",
"-C", "target-feature=+fp-armv8d16",
]
[build]
target = "thumbv7em-none-eabihf"