Skip to content

[tof] Using esp-hal from main #28

@finalyards

Description

@finalyards

Wanted to try it out, but landed with this:

# at vl_api
$ cargo run --release --features=single,distance_mm,defmt,vl53l8cx --example single-emb
...
   Compiling esp-hal-embassy v0.9.0 (https://github.com/esp-rs/esp-hal.git#b346074d)
error[E0433]: failed to resolve: use of unresolved module or unlinked crate `critical_section`
   --> /home/ubuntu/.cargo/git/checkouts/esp-hal-29ef8683203c9b81/b346074/esp-backtrace/src/lib.rs:189:13
    |
189 |             critical_section::with(|_| {
    |             ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `critical_section`
    |
    = help: if you wanted to use a crate named `critical_section`, use `cargo add critical_section` to add it to your `Cargo.toml`

For more information about this error, try `rustc --explain E0433`.
error: could not compile `esp-backtrace` (lib) due to 1 previous error

Adding critical_section as a dependency didn't make a difference.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions