example and basic readme

This commit is contained in:
Robin Appelman 2020-08-26 01:02:24 +02:00
commit 6cd7bab5e5
8 changed files with 169 additions and 22 deletions

13
.cargo/config Normal file
View file

@ -0,0 +1,13 @@
[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"