Files
TencentOS-tiny/examples/tos_meets_rust/app/.cargo/config
2021-01-12 23:47:54 +08:00

17 lines
605 B
Plaintext

[target.thumbv6m-none-eabi]
[target.'cfg(all(target_arch = "arm", target_os = "none"))']
rustflags = [
# LLD (shipped with the Rust toolchain) is used as the default linker
"-C", "link-arg=-Tlink.x",
]
[build]
# Pick ONE of these compilation targets
# Select according to https://www.st.com/en/microcontrollers-microprocessors/stm32g0-series.html
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)