esp-hal/esp32-hal/.cargo/config.toml

18 lines
320 B
TOML

[target.xtensa-esp32-none-elf]
runner = "espflash flash --monitor"
[build]
rustflags = [
# GNU LD
# "-C", "link-arg=-nostartfiles",
# "-C", "link-arg=-Wl,-Tlinkall.x",
# LLD
"-C", "linker=rust-lld",
"-C", "link-arg=-Tlinkall.x",
]
target = "xtensa-esp32-none-elf"
[unstable]
build-std = ["core", "alloc"]