esp-rs / esp32-hal

A hardware abstraction layer for the esp32 written in Rust.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Linking error when enabling GPIO_INTR

schphil opened this issue · comments

Hi there, attempting to enable the GPIO_INTR ( esp32_hal::interrupt::enable(Interrupt::GPIO_INTR); ) results in the following linking error. Thanks in advance.

Screenshot 2021-09-22 at 11 19 12

Are you trying to use esp32-hal in a std application, like https://github.com/ivmarkov/rust-esp32-std-hello? Whilst I'd like this to work in the future, this is currently not a supported configuration.

I would say use the idf-hal implementation but this does not have support for Interrupts just yet.

Thanks for the quick response. That is exactly what I am trying to do. Yes, I noticed that too which is why I tried the esp32-hal crate. I'll leave the interrupts for now.

Should I close this one?