esp8266-flash/.cargo/config

13 lines
351 B
Text

[target]
runner = { default = "xtensa-lx106-elf-gdb -q -x openocd.gdb" }
[build]
rustflags = [
"-C", "link-arg=-nostartfiles",
"-C", "debuginfo=0", # not 2
"-C", "link-arg=-Wl,-Tlink.x",
"--emit", "llvm-bc,link", # see: https://github.com/MabezDev/xtensa-rust-quickstart/issues/1#issuecomment-481119695
]
target = "xtensa-esp8266-none-elf"