.toml and note aboute target

This commit is contained in:
Jonas Jacobsson 2022-09-27 15:29:03 +00:00
parent b87fca3d21
commit ccbaea82aa
3 changed files with 6 additions and 6 deletions

13
.cargo/config.toml Normal file
View file

@ -0,0 +1,13 @@
[alias]
xtask = "run --package xtask --"
[target.thumbv6m-none-eabi]
runner = "qemu-system-arm -cpu cortex-m3 -machine lm3s6965evb -nographic -semihosting-config enable=on,target=native -kernel"
[target.thumbv7m-none-eabi]
runner = "qemu-system-arm -cpu cortex-m3 -machine lm3s6965evb -nographic -semihosting-config enable=on,target=native -kernel"
[target.'cfg(all(target_arch = "arm", target_os = "none"))']
rustflags = [
"-C", "link-arg=-Tlink.x",
]