esp-rs / embuild

Build support for embedded Rust: Cargo integration with other embedded build ecosystems & tools, like PlatformIO, CMake and kconfig.
Apache License 2.0
135 stars 38 forks source link

3rd party C libraries #55

Closed p3zhy closed 2 years ago

p3zhy commented 2 years ago

Hello . I want to add 3rd party C libraries to esp-idf components. But bindgen does not recognize this component and I cannot use its functions in the project. What is the way to add 3rd party C library?

N3xed commented 2 years ago

Unfortunately, this is not possible yet out of the box (see this issue https://github.com/esp-rs/esp-idf-sys/issues/72).

To work around this, you could modify the esp-idf-sys:

Closing, because this is really a esp-idf-sys issue. Please open an issue there or add to the existing issues related to this.