2025-09-19 08:11:24 +00:00

25 lines
579 B
TOML

[target.'cfg(target_arch = "riscv32")']
runner = "espflash flash --monitor --partition-table=examples/ota/update/partitions.csv"
rustflags = [
"-C", "link-arg=-Tlinkall.x",
"-C", "force-frame-pointers",
]
[target.'cfg(target_arch = "xtensa")']
runner = "espflash flash --monitor --partition-table=examples/ota/update/partitions.csv"
rustflags = [
# GNU LD
"-C", "link-arg=-Wl,-Tlinkall.x",
"-C", "link-arg=-nostartfiles",
# LLD
# "-C", "link-arg=-Tlinkall.x",
# "-C", "linker=rust-lld",
]
[env]
ESP_LOG = "info"
[unstable]
build-std = ["alloc", "core"]