aboutsummaryrefslogtreecommitdiff
path: root/examples/esp32c3/.cargo/config.toml
blob: 05f0a2921e44aad1a2b055c8b13a0cab99b7b01b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
[target.riscv32imc-unknown-none-elf]
# Real hardware
# runner = "espflash flash --monitor"

# QEMU emulator
runner = "./runner.sh"

[build]
rustflags = [
  "-C", "link-arg=-Tlinkall.x",
  # Required to obtain backtraces (e.g. when using the "esp-backtrace" crate.)
  # NOTE: May negatively impact performance of produced code
  "-C", "force-frame-pointers",
]

target = "riscv32imc-unknown-none-elf"