Add webrepl on esp32

This commit is contained in:
Thomas Farstrike
2026-02-25 19:49:30 +01:00
parent 7016efffd6
commit 5740b29f11
+6
View File
@@ -220,6 +220,12 @@ async def asyncio_repl():
await aiorepl.task()
TaskManager.create_task(asyncio_repl()) # only gets started after TaskManager.start()
try:
import webrepl
webrepl.start(port=7890,password="MPOSweb26") # password max 9 characters
except Exception as e:
print(f"Could not start webrepl - this is normal on desktop systems: {e}")
async def ota_rollback_cancel():
try:
from esp32 import Partition