Home
last modified time | relevance | path

Searched refs:ota_id (Results 1 – 1 of 1) sorted by relevance

/hal_espressif-3.6.0/components/app_update/
Dotatool.py83 def _get_partition_id_from_ota_id(self, ota_id): argument
84 if isinstance(ota_id, int):
85 return PartitionType('app', 'ota_' + str(ota_id))
87 return PartitionName(ota_id)
89 def switch_ota_partition(self, ota_id): argument
120 if isinstance(ota_id, int):
121 …n_next = filter(lambda p: p.subtype - gen.MIN_PARTITION_SUBTYPE_APP_OTA == ota_id, ota_partitions)
123 ota_partition_next = filter(lambda p: p.name == ota_id, ota_partitions)
192 def read_ota_partition(self, ota_id, output): argument
193 self.target.read_partition(self._get_partition_id_from_ota_id(ota_id), output)
[all …]