Better HN
topnewbestaskshowjobs
Log inSign up

sergiogasquez

8 karma · joined Jul 15, 2022 (4y ago) · 9 submissions

Submissions

comment 9mo ago · link · parent

Hey everyone! I’ve been tinkering with an open-source alternative to the Tindeq called Crimpdeq! Built from scratch using an ESP32-C3 and with [firmware written in Rust](https://github.com/crimpdeq/crimpdeq-firmware/). I've also created a [PCB](https://github.com/crimpdeq/crimpdeq-pcb) and a [3D case](https://github.com/crimpdeq/crimpdeq-case).

To make it easy for others to build their own, I wrote a step-by-step [book](https://book.crimpdeq.com/) that walks through the full process, including how to prototype one by salvaging a crane scale.

Let me know what you think, or better yet, jump in and help make it even better!

2.

Open source Bluetooth dynamometer for climbing training(crimpdeq.com ↗)

1 points · by sergiogasquez · 9mo ago · 1 comment

3.

esp-hal (no_std Rust on ESP32) 1.0.0 beta announcement(developer.espressif.com ↗)

4 points · by sergiogasquez · 1y ago · discuss

comment 2y ago · link · parent

> 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

comment 2y ago · link · parent

Regarding defmt and probe-rs, here are some resources: https://esp-rs.github.io/no_std-training/03_6_defmt.html and https://esp-rs.github.io/book/tooling/debugging/probe-rs.htm...

comment 3y ago · link · parent

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

comment 3y ago · link · parent

> 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

comment 3y ago · link · parent

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

comment 3y ago · link · parent

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...