rtic/examples/esp32c3/.cargo/config.toml

20 lines
482 B
TOML

[target.riscv32imc-unknown-none-elf]
# Real hardware
# runner = "espflash flash --monitor --chip esp32c3"
# QEMU emulator
runner = "./runner.sh"
[build]
rustflags = [
# Required to obtain backtraces (e.g. when using the "esp-backtrace" crate.)
# NOTE: May negatively impact performance of produced code
"-C", "force-frame-pointers",
# This should be last.
"-C", "link-arg=-Tlinkall.x",
]
target = "riscv32imc-unknown-none-elf"
[unstable]
build-std = ["alloc", "core"]