Skip to content

Commit bb25471

Browse files
Remove ota library
It was hardly used.
1 parent 1afc546 commit bb25471

File tree

6 files changed

+2
-509
lines changed

6 files changed

+2
-509
lines changed

internal_filesystem/lib/README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
This /lib folder contains:
22
- https://github.com/echo-lalia/qmi8658-micropython/blob/main/qmi8685.py but given the correct name "qmi8658.py"
33
- traceback.mpy from https://github.com/micropython/micropython-lib
4-
- https://github.com/glenn20/micropython-esp32-ota/ installed with import mip; mip.install('github:glenn20/micropython-esp32-ota/mip/ota')
54
- mip.install('github:jonnor/micropython-zipfile')
65
- mip.install("shutil") for shutil.rmtree('/apps/com.example.files') # for rmtree()
76
- mip.install("aiohttp") # easy websockets

internal_filesystem/lib/mpos/main.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,8 +108,8 @@ async def asyncio_repl():
108108

109109
async def ota_rollback_cancel():
110110
try:
111-
import ota.rollback
112-
ota.rollback.cancel()
111+
from esp32 import Partition
112+
Partition.mark_app_valid_cancel_rollback()
113113
except Exception as e:
114114
print("main.py: warning: could not mark this update as valid:", e)
115115

internal_filesystem/lib/ota/blockdev_writer.py

Lines changed: 0 additions & 163 deletions
This file was deleted.

internal_filesystem/lib/ota/rollback.py

Lines changed: 0 additions & 27 deletions
This file was deleted.

internal_filesystem/lib/ota/status.py

Lines changed: 0 additions & 164 deletions
This file was deleted.

0 commit comments

Comments
 (0)