Woyten | 860e0bc | 2020-01-29 21:17:14 +0100 | [diff] [blame] | 1 | [alias] |
Laura Abbott | 3620f07 | 2020-02-18 17:28:36 -0500 | [diff] [blame] | 2 | rriscv32imac = "run --release --target=riscv32imac-unknown-none-elf --example" |
| 3 | rrv32imac = "rriscv32imac" |
Woyten | 860e0bc | 2020-01-29 21:17:14 +0100 | [diff] [blame] | 4 | rriscv32imc = "run --release --target=riscv32imc-unknown-none-elf --example" |
| 5 | rrv32imc = "rriscv32imc" |
| 6 | rthumbv7em = "run --release --target=thumbv7em-none-eabi --example" |
| 7 | rtv7em = "rthumbv7em" |
Alistair Francis | 6acae06 | 2019-09-25 11:33:51 -0700 | [diff] [blame] | 8 | |
Woyten | 860e0bc | 2020-01-29 21:17:14 +0100 | [diff] [blame] | 9 | # Deny warnings on all architectures. build.rustflags cannot be used here as the lower section would override its effect. |
| 10 | [target.'cfg(all())'] |
| 11 | rustflags = ["-D", "warnings"] |
Woyten | 8bedbd7 | 2019-12-17 17:08:29 +0100 | [diff] [blame] | 12 | |
Woyten | 860e0bc | 2020-01-29 21:17:14 +0100 | [diff] [blame] | 13 | # Common settings for all embedded targets |
| 14 | [target.'cfg(any(target_arch = "arm", target_arch = "riscv32"))'] |
Alistair Francis | 82feaa2 | 2020-01-20 19:06:33 -0800 | [diff] [blame] | 15 | rustflags = [ |
Woyten | 860e0bc | 2020-01-29 21:17:14 +0100 | [diff] [blame] | 16 | "-C", "relocation-model=static", |
| 17 | "-C", "link-arg=-Tlayout.ld", |
Alistair Francis | 82feaa2 | 2020-01-20 19:06:33 -0800 | [diff] [blame] | 18 | ] |
Alistair Francis | cb3d5b8 | 2020-03-10 13:43:48 -0700 | [diff] [blame] | 19 | runner = "./tools/flash.sh" |