esp32s3 devkit. Best Way to do blink led using Rust in 2023

neuberfran
Posts: 1
Joined: Sat Sep 10, 2016 3:04 am

esp32s3 devkit. Best Way to do blink led using Rust in 2023

Postby neuberfran » Tue Aug 01, 2023 12:05 am

Hi,

https://hutscape.com/tutorials/blinky-rust-esp32s3

In February of this year, and still today (using the directory that was stopped in my ubuntu 20.04-LTS Cmake version=3.16) I made a blink led in esp32s3 using the tutorial above.

Yesterday I tried to redo it and I came across the same errors in the link below, and I tried to use the code proposed in this link(below) there and it didn't compile. In two machines that I have here. Ubuntu 22.04 with cmake 3.22

https://www.reddit.com/r/rust/comments/ ... ssue_with/

It`s my issue:

Code: Select all

error[E0433]: failed to resolve: use of undeclared crate or module `anyhow`
  --> src/main.rs:10:14
   |
10 | fn main() -> anyhow::Result<()> {
   |              ^^^^^^ use of undeclared crate or module `anyhow`

For more information about this error, try `rustc --explain E0433`.
error: could not compile `hello` (bin "hello") due to previous error
https://postlmg.cc/VJW4Gx1X

How to solve?
Pls
!

Who is online

Users browsing this forum: No registered users and 84 guests