Closed mrsch closed 1 year ago
I was able to fix this by adding the following to src/include/esp-idf/bindings.h
in esp-idf-sys
:
#include "sys/stat.h"
Not sure if this is the right way to fix this.
When you say "esp idf 5.0" which 5.0 version do you mean precisely? The release/v5.0
branch, or some tag? If a tag, which one?
When you say "esp idf 5.0" which 5.0 version do you mean precisely? The
release/v5.0
branch, or some tag? If a tag, which one?
I suppose it's release/v5.0
as he mentioned seeing the same issue in the CI
Now - after fixing everything else - I'm seeing it too. Weird. Must be caused by CMake using only a handful of the ESP IDF components by default.
@mrsch I think I just fixed it. Please issue cargo update
in the root of your rust crate to pull the latest esp-idf-sys
version.
Reopen if it still does not work for you.
Everything is working now, thanks a lot.
The cmake template with esp-idf version 5.0 fails to build local and in the CI with the following issue: