mirror of
https://github.com/rtic-rs/rtic.git
synced 2024-11-27 22:15:07 +01:00
23 lines
805 B
TOML
23 lines
805 B
TOML
|
[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",
|
||
|
"-C", "link-arg=-Tdefmt.x",
|
||
|
"-C", "link-arg=--nmagic",
|
||
|
]
|
||
|
|
||
|
[build]
|
||
|
# target = "thumbv6m-none-eabi" # Cortex-M0 and Cortex-M0+
|
||
|
# target = "thumbv7m-none-eabi" # Cortex-M3
|
||
|
# target = "thumbv7em-none-eabi" # Cortex-M4 and Cortex-M7 (no FPU)
|
||
|
# target = "thumbv7em-none-eabihf" # Cortex-M4F and Cortex-M7F (with FPU)
|
||
|
|
||
|
[alias]
|
||
|
rrb = "run --release --bin"
|
||
|
brb = "build --release --bin"
|