Skip to content

Could not compile 'esp32c3-hal due to 550 previous errors #177

@dcaponi

Description

@dcaponi

Hey Team,

I tried running one of the examples (blinky) and the crate doesn't compile due to what looks to be 550 syntax errors.

Here's my cargo.toml

[package]
name = "blinky"
version = "0.1.0"
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
esp32c3-hal = "0.1.0"

This is the first of those errors that gets logged out

esp32c3-hal-0.1.0/src/gpio.rs:12:1
   |
12 | / gpio! {
13 | |     Function1,
14 | |     SingleCore,
15 | |
...  |
37 | |     Gpio21: (gpio21, 21, gpio[21], IO,   0, Bank0, None), (), (U0TXD: Function0),
38 | | }
   | |_^
   |
   = note: this error originates in the macro `impl_input` (in Nightly builds, run with -Z macro-backtrace for more info)

Any advice for troubleshooting or pointing me in the right direction if I'm doing something wrong would be greatly appreciated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions