mirror of
https://github.com/rtic-rs/rtic.git
synced 2025-12-18 13:55:23 +01:00
20 lines
482 B
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"]
|