Hacker Newsnew | past | comments | ask | show | jobs | submit | sergiogasquez's commentslogin

> In theory, there is a quickstart CLI tool that should generate a project, but it is currently broken.

Which tool do you mean? `cargo-generate` it's working fine for both templates:

- esp-idf-template(std): https://github.com/esp-rs/esp-idf-template)

- esp-template (no_std): https://github.com/esp-rs/esp-template


Yep - that's what I'm referring to. Broken as of when I tried 2 weeks ago; can't speak to it currently.



Yes! The training developed with Ferrous Systems (https://esp-rs.github.io/std-training/) contains several examples, and you can find many community projects in https://github.com/esp-rs/awesome-esp-rust#projects


> One thing I would like is better Rust support. I have taken a look around and everything is just out of date bindings to C/C++ projects. Not a whole lot of native Rust, so I don't really feel the need to switch until that changes.

There are currently 2 approaches for Rust in ESPs:

- std: Its built on top of ESP-IDF, so it ends up calling C functions. I guess this is what you've seen in the past.

- no_std (bare-metal): Pure Rust implementation.

See https://esp-rs.github.io/book/overview/index.html for more details


Looks really interesting, do you mind sharing it (if its open-source) once its done? Probably it could be a great addition to https://github.com/esp-rs/awesome-esp-rust


Have you tried with espup(https://github.com/esp-rs/espup)? We`ve updated Xtensa tooling not long ago, for more details have a look at the book: https://esp-rs.github.io/book/installation/installation.html...


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: