Giter Site home page Giter Site logo

Comments (4)

gojimmypi avatar gojimmypi commented on August 30, 2024

Hi @Rajath-sensesemi and thanks for your interest in wolfSSL.

Please see #23 (comment) and espressif/esp-idf#13966

I'd like to help you with wolfSSL; can you please provide more details on your requirements? Do you think the Managed Component would work?

from esp-wolfssl.

Rajath-sensesemi avatar Rajath-sensesemi commented on August 30, 2024

I want to use wolfssl for my essp idf project, after adding it as a managed component using this idf.py add-dependency "wolfssl/wolfssl^5.6.6-stable-update2-esp32", the project builds successfully, but when i try to use wolfssl features, by selecting esp-tls ---> wolfssl, after selecting this if i try to build, i get an error like this:
CMake Error at C:/Esp-idf-5.2.2/frameworks/esp-idf-v5.2.2/tools/cmake/component.cmake:381 (__component_get_property):
__component_get_property Function invoked with incorrect arguments for
function named: __component_get_property
Call Stack (most recent call first):
C:/Esp-idf-5.2.2/frameworks/esp-idf-v5.2.2/components/esp-tls/CMakeLists.txt:26 (idf_component_get_property)
I tried in many ways to solve this but it did not work, please give a solution

from esp-wolfssl.

gojimmypi avatar gojimmypi commented on August 30, 2024

when i try to use wolfssl features, by selecting esp-tls ---> wolfssl, after selecting this if i try to build, i get an error:

ah, yes: thanks for that. I should add a note. The wolfssl component can be used without configuring the esp-tls component in the ESP-IDF. See the examples.

The only purpose of Espressif esp-tls layer is to abstract the code and allow either mbedTLS or wolfSSL to be switched in and used when calling esp-tls functions. As you've seen, the wolfSSL integration has been neglected. I'm working on fixing that,

If for some reason you have existing code that must use the esp-tls, I'm working on ESP-IDF updates that will permit this. The work is on my my_522 branch as discussed in gojimmypi/esp-idf#1.

Although the work specifically mentions PlatformIO, the update will of course also work for the regular ESP-IDF. Note that my current work is on the v5.2.2 branch, but I had originally started on the latest master (on my wolfssl branch. I had encountered some unresolvable problems with PlatformIO and had to go back to v5.2.2.

The specific solution for the esp-wolfssl is found here where various names and locations of wolfSSL may be found:

    # esp-idf/components/esp-tls/CMakeLists.txt
    idf_component_get_property(wolfssl esp-wolfssl COMPONENT_LIB)

Note that using the idf.py add-dependency "wolfssl/wolfssl managed component is not the same as this esp-wolfssl repository which has considerably older code and is installed manually.

Depending on your requirements, I can help you proceed with a specific library. Can you provide more details on your project? Also feel free to reach out to [email protected] for priority support.

from esp-wolfssl.

Rajath-sensesemi avatar Rajath-sensesemi commented on August 30, 2024

Thank you for the clarity

from esp-wolfssl.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.