Skip to content

OtaUpdater: make with_ota public #4376

@bouttier

Description

@bouttier

Motivations

I requires to access some functions from low-level Ota, so I needs to find otadata partition and count ota partitions to instantiate Ota. But this is exactly what with_ota do!

Solution

Make OtaUpdater::with_ota public.

Alternatives

Add missing features to OtaUpdater (in my case, reset otadata) but I do not think this is the goal of OtaUpdater to include all Ota features…

I can do a PR.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Status

Todo

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions