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.