2221e1fa93
Rustflags apply to ALL the crates in the graph, while we only need them for the toplevel crate which is the only one getting linked. Rustflags are not equal for all crates, this caused cargo to re-build the same dependency crate multiple times uselessly. After this change, deps are reused more, making builds faster. Note that this only applies when sharing the target/ dir for multiple crates in the repo which is not the default.
8 lines
302 B
TOML
8 lines
302 B
TOML
[target.'cfg(all(target_arch = "arm", target_os = "none"))']
|
|
# replace STM32F429ZITx with your chip as listed in `probe-run --list-chips`
|
|
#runner = "probe-run --chip STM32L475VGT6"
|
|
#runner = "probe-run --chip STM32L475VG"
|
|
runner = "probe-run --chip STM32L4S5VI"
|
|
|
|
[build]
|
|
target = "thumbv7em-none-eabi"
|