esp-rs / esp-hal-community

Apache License 2.0
13 stars 7 forks source link

Document how to run examples #7

Open tschundler opened 1 week ago

tschundler commented 1 week ago

Unlike esp-hal, something like cargo xtask run-example esp-hal-smartled esp32 hello_rgb does not work, and if it did, it isn't documented here.

attempts to cargo run --example hello_rgb --features esp32 were unsuccessful, even adding toolchain.toml to use esp toolchain, and I tried putting these in /cargo/config.toml:

[build]
target = "xtensa-esp32-none-elf"

[target.xtensa-esp32-none-elf]
runner = "espflash flash --monitor"

still no luck. I'm sure it's something simple that I'm missing, but I don't know what.