Skip to content

Exposing ota functions (EHM-114) #111

@swoboda1337

Description

@swoboda1337

Checklist

  • Checked the issue tracker for similar issues to ensure this is not a duplicate.
  • Described the feature in detail and justified the reason for the request.
  • Provided specific use cases and examples.

Feature description

Currently the public header only contains esp_err_t esp_hosted_slave_ota(const char* image_url); in https://github.com/espressif/esp-hosted-mcu/blob/main/host/api/include/esp_hosted_ota.h

It would be helpful to expose these functions https://github.com/espressif/esp-hosted-mcu/blob/main/host/drivers/rpc/wrap/rpc_wrap.h#L96-L98

If someone wants to write their own OTA where the coprocessor image will be sent via some custom protocol these functions are required.

And for rpc_ota_write the ota_data param should be const.

Use cases

Custom OTA protocol.

Alternatives

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions