embassy-esp32/.cargo/config.toml
2025-06-26 20:29:04 +02:00

25 lines
553 B
TOML

[target.'cfg(any(target_arch = "riscv32", target_arch = "xtensa"))']
runner = "espflash flash --chip esp32s3 --monitor"
[env]
DEFMT_LOG="debug"
[build]
rustflags = [
"-C", "link-arg=-nostartfiles",
#"-C", "link-arg=-Tlink.x",
#"-C", "link-arg=--nmagic",
"-C", "link-arg=-Tdefmt.x",
# make sure linkall.x is the last linker script
"-C", "link-arg=-Tlinkall.x"
]
target = "xtensa-esp32s3-none-elf"
[unstable]
build-std = ["core"]
[alias]
esp = "espflash flash --chip esp32s3 --monitor --release --bin"
main = "build --release --bin main"