diff options
| author | Jonas Jacobsson <01joja@gmail.com> | 2022-09-27 15:29:03 +0000 |
|---|---|---|
| committer | Jonas Jacobsson <01joja@gmail.com> | 2022-09-27 15:29:03 +0000 |
| commit | ccbaea82aa6a55f6774b6eccad975382900f86d9 (patch) | |
| tree | 0657a1d117372cb31637bfdc8e63de59bdcd1847 /.cargo/config.toml | |
| parent | b87fca3d21d92018ac4d50b200cf8e77cb577028 (diff) | |
.toml and note aboute target
Diffstat (limited to '.cargo/config.toml')
| -rw-r--r-- | .cargo/config.toml | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/.cargo/config.toml b/.cargo/config.toml new file mode 100644 index 0000000..d70faef --- /dev/null +++ b/.cargo/config.toml @@ -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", +]
\ No newline at end of file |
