Skip to content

Unable to compile the Arduino example #1

@delboy711

Description

@delboy711

I have just came across your interesting and very young project, and started off by compiling the examples.
The ESP32 example compiles OK for ESP32C3, but when compiling the Arduino example for ESP32 in PlatformIO I get a number of compiler errors.

In metadata.cpp there are a number of calls to a void function to initialise an int value. For example

int return_code = mbedtls_sha256_update(&this->sha256_context_, &end_tag, 1);

In authenticator.cpp at line 154 too many arguments are given to function mbedtls_pk_parse_key()

            &this->private_key_context_, private_key_buffer, private_key_size,
            password, 0, mbedtls_ctr_drbg_random, &this->drbg_context_);```

I have an ESP32C3 on order and shall certainly be trying  your project out on it when it arrives, but it would also be nice to be able to compile for ESP32 as I have lots of them.

Thanks for the project.

Derek

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions