esp-hal/esp32-hal/.cargo/config.toml
Scott Mabin 6eca968bb8
Add LLD option for all Xtensa chips (#861)
* Add LLD option for all Xtensa chips

* changelog

* Fix linkerscript for esp32s3 rtc fast ram region
2023-10-25 11:49:42 +01:00

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