aboutsummaryrefslogtreecommitdiff
path: root/examples/esp32c3/.cargo/config.toml
blob: 9ea4ecb95ca57b5d7eb3f4112894cc6f1d1ca8df (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
[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"

[unstable]
build-std = ["core"]