Skip to content

Updated alignment with esp-idf/mbedtls needed to build with latest esp-idf #47

@FredrikFornstad

Description

@FredrikFornstad

In the esp-idf commit "feature/nvs_encryption" two days ago, new definitions for mbedtls_aes_xts_context etc have been added in the mbedtls component. Other parts of esp-idf framwork expects these functions, why lws-esp32-factory (and also the test-demos-app) will not compile with the latest esp-idf.
-> suggestion is to update the mbedtls version that comes with lws-esp32-factory and lws-eps32-test-demos-app (together with the dynamic allocation patch).

EDIT: I also saw that in the new mbedtls version 2.12.0 that is now in esp-idf they have introduced a feature (not sure if it affects your dynamic patch):

  • Make the receive and transmit buffers independent sizes, for situations

    where the outgoing buffer can be fixed at a smaller size than the incoming

    buffer, which can save some RAM. If buffer lengths are kept equal, there

    is no functional difference. Contributed by Angus Gratton, and also

    independently contributed again by Paul Sokolovsky.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions