esp-rs / esp-template

A minimal esp-hal application template for use with cargo-generate
Apache License 2.0
143 stars 29 forks source link

Include idf components #173

Closed floers closed 1 month ago

floers commented 1 month ago

Is there a way to import an existing C idf component into a project based on the esp-template? I want to use epdiy but I want to write Rust code. The docs in epdiy state that I could just include it in the components folder of another idf project (I assume this is a common way to include dependencies). Is there such a pattern for a cargo first rust esp project?

bjoernQ commented 1 month ago

Seems like you are using Rust on top of esp-idf - in that case you are looking for https://github.com/esp-rs/esp-idf-template

This is the repository of the bare-metal template