Hi Adam -
I'm so sorry to hear you are still struggling with the setup. I'll make the instructions more clean on GitHub.
I'll also check the setup script later today.
Can you tell me the exact error you are seeing?
In the meantime, I think the best method is to use the existing examples.
I suggest:
1) Remove the wolfSSL compoenent that was installed to the ESP-IDF with the script.
2) Copy the sample project component directory tree and all files to your `[project root]/components/` directory:
https://github.com/wolfSSL/wolfssl/tree … ts/wolfssl
3) Set an environment variable called WOLFSSL_ROOT (or edit the CMakeLists.txt variable of the same name) to point to the wolfssl source.
For example if you've git-cloned wolfssl from a d:\workspace directory and used the default repo name:
WOLFSSL_ROOT="d:\workspace\wolfssl"
Or see cmake examples:
https://github.com/wolfSSL/wolfssl/blob … ts.txt#L53
Your wolfSSL user_settings.h file would then be in your:
[project]/components/wolfssl/include
Like this one:
https://github.com/wolfSSL/wolfssl/tree … sl/include
Let me know how that goes. If you still see errors, please post them here or open a GitHub issue.
Best Regards,
Jim