-
We are working on esp32c6 for telematic features in our VCU ( Vehicle Control Unit) and we want to use Embassy as well. At some first steps, we realise that esp-hal is easier to start, but a bit worries : whether esp-hal is good enough - what are the advantages of esp-idf-hal compare with esp-hal ? what are the aspect do i need to consider ? Very appreciate for any comments, i am quite new here. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Just my very personal opinion and I'm biased since I'm working on esp-hal:
Given that, it sounds like
Support for Given your requirements we can at least put a checkmark on everything for
There is also the option to start with one of the HALs and later switch (with some effort) to the other by moving everything possible into a HAL independent crate. How feasible that is in reality heavily depends on the project itself and probably on the Rust experience of the team. Switching from esp-hal to esp-idf-hal might however be quite some effort - the other way around might be even harder or almost impossible if Rust-std features are heavily used. As said: Those are just my personal thoughts on this. I am quite sure others have a completely different view on these things |
Beta Was this translation helpful? Give feedback.
-
Really thanks for your insightful ! it is really help us on the direction, but anyway more or less me and my team have a answer for us from your points. thanks a lot |
Beta Was this translation helpful? Give feedback.
Just my very personal opinion and I'm biased since I'm working on esp-hal:
esp-idf-hal
is basically a Rust wrapper over functionality provided byesp-idf
.esp-idf
is really battle tested and supports even more "exotic" configurations.esp-idf
also supports pretty much everything the chips are capable of. Rust on top ofesp-idf
even supports the Rust-Standard-Library.esp-hal
is a somewhat young implementation on bare-metal. There are some gaps in supported functionality and the API might currently see breaking changes from release to release (there are some refactorings in the pipeline which definitely will be breaking changes - also we are constantly trying to improve the APIs for useabi…