[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"